{"id":"38ed3e9e-9719-40e1-acde-e54128c70a90","type":"API","name":"Treaties API","slug":"treaties-api","description":"An API exposing details of the treaties laid before Parliament.","free_access_class":"FREE_NO_AUTH","auth_type":"NONE","homepage_url":"https://www.parliament.uk/","docs_url":null,"repo_url":"https://treaties-api.parliament.uk/swagger/v1/swagger.json","status":"ACTIVE","verification_state":"VERIFIED","tags":["legislation"],"logo_url":"https://www.google.com/s2/favicons?sz=64&domain=parliament.uk","primary_source_url":"https://treaties-api.parliament.uk/swagger/v1/swagger.json","extraction_confidence":"0.70","created_at":"2026-01-01T19:42:27.460Z","updated_at":"2026-07-05T04:01:52.454Z","last_verified_at":"2026-07-05T01:37:08.890Z","deprecated_at":null,"ranking_score":65,"last_ranked_at":"2026-07-04T06:32:54.227Z","last_seen_at":null,"last_validated_at":null,"last_uptime_at":"2026-07-05T04:01:52.454Z","search_vector":"'api':2A,4B 'detail':6B 'expos':5B 'laid':10B 'legisl':13C 'parliament':12B 'treati':1A,9B","popularity_score":"0.0000","maintenance_score":"0.5000","institution_id":"80926881-de89-4d9e-a1c5-f2393d25dac7","institution_type":"GOVERNMENT","country_code":"GB","official_confidence":40,"proof_summary":"official domain (parliament.uk)","source_seed_url":null,"is_public_sector":true,"published_at":"2026-01-01T19:42:27.460Z","geographic_scope":"NATIONAL","api_details":{"id":"19aba87f-4d5d-44e5-8f94-106895771f63","entry_id":"38ed3e9e-9719-40e1-acde-e54128c70a90","base_url":"https://treaties-api.parliament.uk","openapi_url":"https://treaties-api.parliament.uk/swagger/v1/swagger.json","graphql_url":null,"api_version":"v1","spec_format":"openapi","endpoints_count":6,"endpoints":[{"path":"/api/BusinessItem/{id}","method":"GET","description":"Returns business item by ID."},{"path":"/api/GovernmentOrganisation","method":"GET","description":"Returns all government organisations."},{"path":"/api/SeriesMembership","method":"GET","description":"Returns all series memberships."},{"path":"/api/Treaty","method":"GET","description":"Returns a list of treaties."},{"path":"/api/Treaty/{id}","method":"GET","description":"Returns a treaty by ID."},{"path":"/api/Treaty/{id}/BusinessItems","method":"GET","description":"Returns business items belonging to the treaty with ID."}],"rate_limit_info":null,"free_tier_limits":null,"ping_url":null,"created_at":"2026-01-01T19:42:27.626Z","updated_at":"2026-01-01T19:42:27.626Z"},"dataset_details":null,"latest_check":{"id":"d302bb94-13b0-4034-a122-a3b67701dff3","entry_id":"38ed3e9e-9719-40e1-acde-e54128c70a90","status":"VERIFIED","last_checked_at":"2026-07-05T01:37:08.729Z","p50_latency_ms":654,"p95_latency_ms":null,"last_error":null,"consecutive_failures":0,"created_at":"2026-06-08T12:42:45.318Z","updated_at":"2026-07-05T01:37:08.729Z","consecutive_successes":19},"data_profile":{"id":"680fc458-e52f-478f-9867-aac2892e1acc","entry_id":"38ed3e9e-9719-40e1-acde-e54128c70a90","profile_source":"openapi","profile_kind":"dataset","dataset_id":null,"fields":[{"name":"id","role":"parameter","type":"string","label":null,"param_in":"path","required":true,"container":"/api/BusinessItem/{id}","filterable":true,"description":"Business item with the ID specified"},{"name":"SearchText","role":"parameter","type":"string","label":null,"param_in":"query","container":"/api/Treaty","filterable":true,"description":null},{"name":"GovernmentOrganisationId","role":"parameter","type":"integer (int32)","label":null,"format":"int32","param_in":"query","container":"/api/Treaty","filterable":true,"description":null},{"name":"Series","role":"parameter","type":"string","label":null,"param_in":"query","container":"/api/Treaty","filterable":true,"description":null},{"name":"ParliamentaryProcess","role":"parameter","type":"string","label":null,"param_in":"query","container":"/api/Treaty","filterable":true,"description":null},{"name":"DebateScheduled","role":"parameter","type":"boolean","label":null,"param_in":"query","container":"/api/Treaty","filterable":true,"description":null},{"name":"MotionsTabledAboutATreaty","role":"parameter","type":"boolean","label":null,"param_in":"query","container":"/api/Treaty","filterable":true,"description":null},{"name":"CommitteeRaisedConcerns","role":"parameter","type":"boolean","label":null,"param_in":"query","container":"/api/Treaty","filterable":true,"description":null},{"name":"House","role":"parameter","type":"string","label":null,"param_in":"query","container":"/api/Treaty","filterable":true,"description":null},{"name":"Skip","role":"parameter","type":"integer (int32)","label":null,"format":"int32","param_in":"query","container":"/api/Treaty","filterable":true,"description":null},{"name":"Take","role":"parameter","type":"integer (int32)","label":null,"format":"int32","param_in":"query","container":"/api/Treaty","filterable":true,"description":null},{"name":"treatyId","type":"string","label":"BusinessItem","description":null},{"name":"stepName","type":"string","label":"BusinessItem","description":null},{"name":"steps","type":"array<string>","label":"BusinessItem","description":null},{"name":"itemDate","type":"string (date-time)","label":"BusinessItem","format":"date-time","description":null},{"name":"houses","type":"array<object>","label":"BusinessItem","description":null},{"name":"link","type":"string","label":"BusinessItem","description":null},{"name":"sequence","type":"integer (int32)","label":"BusinessItem","format":"int32","description":null},{"name":"treatyUri","type":"string (uri)","label":"BusinessItem","format":"uri","description":null},{"name":"businessItemUri","type":"string (uri)","label":"BusinessItem","format":"uri","description":null},{"name":"houseUri","type":"string (uri)","label":"BusinessItem","format":"uri","description":null},{"name":"houseName","type":"string","label":"BusinessItem","description":null},{"name":"procedureStepUri","type":"string (uri)","label":"BusinessItem","format":"uri","description":null},{"name":"houseId","type":"string","label":"BusinessItem","description":null},{"name":"procedureStepId","type":"string","label":"BusinessItem","description":null},{"name":"workpackageProcedureUri","type":"string (uri)","label":"BusinessItem","format":"uri","description":null},{"name":"house","type":"object","label":"BusinessItemHouse","description":null},{"name":"name","type":"string","label":"BusinessItemHouse","description":null},{"name":"value","type":"object","label":"BusinessItemResource","description":null},{"name":"links","type":"array<object>","label":"BusinessItemResource","description":null},{"name":"items","type":"array<object>","label":"BusinessItemResourceCollection","description":null},{"name":"totalResults","type":"integer (int32)","label":"BusinessItemResourceCollection","format":"int32","description":null},{"name":"itemsPerPage","type":"integer (int32)","label":"BusinessItemResourceCollection","format":"int32","description":null},{"name":"description","type":"string","label":"SeriesMembership","description":null},{"name":"uri","type":"string (uri)","label":"Treaty","format":"uri","description":null},{"name":"commandPaperPrefix","type":"string","label":"Treaty","description":null},{"name":"commandPaperNumber","type":"integer (int32)","label":"Treaty","format":"int32","description":null},{"name":"commonsLayingDate","type":"string (date-time)","label":"Treaty","format":"date-time","description":null},{"name":"lordsLayingDate","type":"string (date-time)","label":"Treaty","format":"date-time","description":null},{"name":"webLink","type":"string (uri)","label":"Treaty","format":"uri","description":null},{"name":"treatySeriesMembership","type":"object","label":"Treaty","description":null},{"name":"leadDepartment","type":"object","label":"Treaty","description":null},{"name":"layingBodyDepartment","type":"object","label":"Treaty","description":null},{"name":"parliamentaryConclusion","type":"object","label":"Treaty","description":null},{"name":"debateScheduled","type":"string","label":"Treaty","description":null},{"name":"broughtToAttentionDate","type":"string (date-time)","label":"Treaty","format":"date-time","description":null},{"name":"signedDate","type":"string (date-time)","label":"Treaty","format":"date-time","description":null},{"name":"laidDate","type":"string (date-time)","label":"Treaty","format":"date-time","description":null},{"name":"pertinentDate","type":"string (date-time)","label":"Treaty","format":"date-time","description":null},{"name":"workpackageId","type":"string","label":"Treaty","description":null},{"name":"seriesMembershipType","type":"object","label":"TreatySeriesMembership","description":null},{"name":"citation","type":"string","label":"TreatySeriesMembership","description":null},{"name":"rel","type":"string","label":"Link","description":null},{"name":"href","type":"string","label":"Link","description":null},{"name":"method","type":"string","label":"Link","description":null}],"field_count":55,"sample_records":null,"record_count":null,"data_size_bytes":null,"dataset_count":null,"query_examples":[{"url":"https://treaties-api.parliament.uk/swagger/v1/swagger.json","curl":"curl -s 'https://treaties-api.parliament.uk/swagger/v1/swagger.json' -H 'Accept: application/json'","label":"OpenAPI spec","method":"GET","description":"Machine-readable API description (use it to generate clients)."},{"url":"https://treaties-api.parliament.uk/api/GovernmentOrganisation","curl":"curl -s 'https://treaties-api.parliament.uk/api/GovernmentOrganisation' -H 'Accept: application/json'","label":"Returns all government organisations.","method":"GET","description":"Returns all government organisations."}],"status":"partial","error_message":null,"profiled_at":"2026-07-03T20:22:17.609Z","run_id":"a25b256d-f283-4db2-9a16-2e8d23c3900f","created_at":"2026-06-12T19:11:45.207Z","updated_at":"2026-07-03T20:22:17.609Z"},"limits":[]}