API
We're publishing this data via an Application Programming Interface (API). This document is the official reference for this API.
Outputs
This API currently outputs all data in XML format. Other formats may be available in the future.
License Information
Our data is licensed under a Creative Commons Attribution-Share Alike 2.0 UK: England & Wales License.
API Documentation
Stats
Returns some basic statistics such as number of claims, and total value of all claims.
http://www.whattheyclaimed.com/index.php/api/stats
Categories
Returns a list of all categories, including title, and value of all claims made in this category.
http://www.whattheyclaimed.com/index.php/api/categories
People
Returns a list of all people, including name, constituency, and value of all claims made by this person.
http://www.whattheyclaimed.com/index.php/api/people
Category Claims
Returns details of all claims made during a particular category.
http://www.whattheyclaimed.com/index.php/api/category_claims/[Category Code]
Person Claims
Returns details of all claims made by a particular person.
http://www.whattheyclaimed.com/index.php/api/person_claims/[Person Code]
Latest Claims
Returns the latest 20 claims recorded by the system.
http://www.whattheyclaimed.com/index.php/api/latest_claims