DataScoop.io
Get a free key
Home / Docs

DataScoop API and MCP docs

One REST API and one MCP server over every dataset. Preview free (25 rows per call, no key needed), then use a Pro key for unlimited rows, or buy a single filtered export in the explorer. Machine-readable: OpenAPI 3.1, llms.txt, llms-full.txt.

Quickstart

1. Create a free account (email in, key out, no card). 2. Call the API with the key as a Bearer token, or add the MCP server to your agent (setup for Claude, ChatGPT, Cursor, VS Code, Codex). 3. Filter with the query parameters listed per dataset below; add format=csv for a spreadsheet-ready file.

curl "https://datascoop.io/v1/datasets" \
  -H "Authorization: Bearer YOUR_KEY"

Endpoints

EndpointWhat it returns
GET /v1/datasetsEvery dataset with its country, row count, licence and refresh date, plus a countries summary. Add ?country=US to filter.
GET /v1/datasets/{id}The dataset's columns and the filters it accepts (with type, match rule and example).
GET /v1/datasets/{id}/queryRows matching your filters as JSON, or CSV with format=csv. Anonymous and free-key calls return at most 25 rows with truncated: true, the total, and a next_step object with the links for getting every row. Pro keys are uncapped: page JSON with limit (up to 10,000) and offset; CSV is streamed whole. Unknown filter keys are listed in ignored. Every response carries the licence and attribution string.
GET /v1/meYour key's plan and usage (calls and rows, today and last 30 days).
GET /v1/pricingCurrent prices in your currency (?currency=USD to choose).
POST /signup{"email": "..."} creates a free account and returns the key once (409 if the email already has one).
POST /mcpThe MCP server (Streamable HTTP, JSON-RPC 2.0). Tools below.
GET /openapi.jsonOpenAPI 3.1 with one typed operation per dataset. Import it into GPT Actions or any SDK generator.
GET /llms.txt, /llms-full.txtThe whole service described for language models.

Straight into Excel, Google Sheets or your CRM

Excel: download the CSV from the explorer and open it, or use Data → Get Data → From Web with a CSV URL and your key to make it refreshable:

https://datascoop.io/v1/datasets/fsa/query?localAuthority=Leeds&rating=1&format=csv&api_key=YOUR_KEY

Google Sheets: one formula, refreshes on its own (Pro key for the full list):

=IMPORTDATA("https://datascoop.io/v1/datasets/cqc/query?region=London&careHome=true&format=csv&api_key=YOUR_KEY")

HubSpot, Salesforce, Pipedrive and any CRM: every download is a plain UTF-8 CSV with one header row (company or premises name, address, postcode, official identifiers), which is exactly what CRM importers expect. There are no personal contact columns, so nothing needs consent handling.

Authentication and plans

Send your key as Authorization: Bearer ds_... or as ?api_key=. No key or a free key: 25 rows per query. Pro (£19/month): unlimited rows, full API and MCP. One-off export (£4.99): every matching row for one filter set, no account needed, from the explorer. Pricing · Create an account · Log in.

MCP server

Endpoint https://datascoop.io/mcp, Streamable HTTP with single JSON responses, protocol revisions 2026-07-28, 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05. Authentication is optional (Bearer header for Pro rows). Full client-by-client setup is on the agents page; the shortest version:

claude mcp add --transport http datascoop https://datascoop.io/mcp --header "Authorization: Bearer YOUR_KEY"
{
  "mcpServers": {
    "datascoop": {
      "url": "https://datascoop.io/mcp",
      "headers": { "Authorization": "Bearer YOUR_KEY" }
    }
  }
}
ToolWhat it does
list_datasetsList every dataset DataScoop carries (official public records: UK food hygiene ratings, Scotland FHIS, CQC care providers, the UK charity register, US restaurant inspections, US building permits, and more as added) with country, coverage, row count, licence, refresh date and the page URLs. Call this or search_datasets first.
search_datasetsFind which DataScoop dataset answers a need, by keywords such as "care homes Yorkshire", "restaurant inspections Chicago", "charities income", "food hygiene Leeds", "building permits". Returns matching datasets with their filters and an example query.
get_dataset_schemaGet a dataset's columns and the exact filters it accepts (key, type, allowed options, example). Use the filter keys, not column names, when calling query_dataset.
query_datasetReturn the rows of a dataset that match a set of filters, with the total count and the attribution to cite. Organisational data only (businesses, premises, charities, permits), never personal contact data. Without a Pro key each call returns at most 25 rows and sets truncated=true with the total; the result then includes next_step with the exact links and wording to give the user so they can get every row (one-off spreadsheet export, or a free account upgraded to Pro for unlimited API and MCP rows). Page with offset; ask for format "summary" to get counts only.
get_area_statisticsFree aggregate statistics for datasets that have a rating (food hygiene ratings by local authority, Scotland FHIS by council, US restaurant inspections and building permits by city area): totals, share rated well or poorly, rank among areas, breakdown by type, and the most recently rated low performers. Omit area to list the areas available. Cite the page URL returned.
get_access_infoHow to get full access: the current plan of this connection, row caps, prices (free preview, one-off export, Pro subscription), the signup and pricing URLs, how to pass an API key, and the wording to use when telling a user how to get every row.

Datasets

CQC care providers directory (England) (United Kingdom, 57,080 rows, id cqc)

Dataset page · Statistics · Licence: Open Government Licence v3.0 · refreshed 2026-08-25

curl "https://datascoop.io/v1/datasets/cqc/query?region=Yorkshire%20and%20The%20Humber&serviceType=Nursing%20homes&format=csv" \
  -H "Authorization: Bearer YOUR_KEY"
FilterMeaningType and matchExample
regionRegionenum: East Midlands, East of England, London, North East, North West, South East, South West, West Midlands, Yorkshire and The Humber
eq
London
localAuthorityLocal authoritytext
contains
Leeds
careHomeCare homes only
Residential and nursing homes only
boolean
bool
true
serviceTypeService type contains
e.g. Residential homes, Nursing homes, Homecare agencies, Supported living, Dentist, Doctors/GPs, Hospital, Hospice, Clinic, Ambulances, Diagnosis/screening
text
contains
Nursing homes
specialismSpecialism containstext
contains
Dementia
postcodeAreaPostcode areatext
prefix
LS
nameContainsName containstext
contains
Manor
providerContainsProvider containstext
contains
Barchester
overallRatingOverall rating
Populated only when the CQC API key is configured; the public directory file carries no ratings.
enum: Outstanding, Good, Requires improvement, Inadequate
eq
Inadequate
minBedsMinimum beds
Requires the CQC API (beds are not in the directory file).
number
gte
40

Columns: locationId, locationName, alsoKnownAs, providerName, providerId, careHome, serviceType, primaryServiceType, regulatedActivities, specialisms, numberOfBeds, addressLine1, addressLine2, townCity, county, region, postcode, localAuthority, latitude, longitude, phone, website, cqcUrl, registrationStatus, registrationDate, overallRating, ratingSafe, ratingEffective, ratingCaring, ratingResponsive, ratingWellLed, lastInspectionDate

FSA food hygiene ratings (England, Wales & NI) (United Kingdom, 552,886 rows, id fsa)

Dataset page · Statistics · Licence: Open Government Licence v3.0 · refreshed 2026-08-24

curl "https://datascoop.io/v1/datasets/fsa/query?localAuthority=Leeds&rating=1&businessType=Takeaway&format=csv" \
  -H "Authorization: Bearer YOUR_KEY"
FilterMeaningType and matchExample
localAuthorityLocal authority
Council name, e.g. Leeds, Camden, Cardiff
text
contains
Leeds
businessTypeBusiness type
e.g. Restaurant/Cafe/Canteen, Takeaway/sandwich shop, Pub/bar/nightclub, Retailers - supermarkets/hypermarkets, School/college/university
text
contains
Takeaway
ratingHygiene ratingenum: 5, 4, 3, 2, 1, 0, AwaitingInspection, Exempt
eq
1
postcodeAreaPostcode areatext
prefix
LS1
nameContainsName containstext
contains
Pizza

Columns: businessName, businessType, ratingValue, ratingDate, addressLine1, addressLine2, town, postcode, localAuthority, latitude, longitude

US restaurant inspections (NYC, Chicago, New York State, Austin) (United States, 58,898 rows, id us-food-inspections)

Dataset page · Statistics · Licence: Public records, city/state open-data terms · refreshed 2026-08-24

curl "https://datascoop.io/v1/datasets/us-food-inspections/query?source=Chicago&result=Fail&format=csv" \
  -H "Authorization: Bearer YOUR_KEY"
FilterMeaningType and matchExample
sourceSource
Publishing jurisdiction
enum: New York City, Chicago, New York State, Austin
eq
Chicago
resultResult / grade
NYC grades A/B/C; Chicago Pass/Fail/Pass w/ Conditions; Austin Pass/Fail; New York State Critical violations/No critical violations
text
eq
Fail
facilityTypeFacility type / cuisinetext
contains
Pizza
cityCity / borough containstext
contains
Brooklyn
zipPrefixZIP starts withtext
prefix
606
nameContainsName containstext
contains
Taco
sinceInspected since (YYYY-MM-DD)text
gte
2026-01-01

Columns: businessName, facilityType, source, city, address, zip, state, inspectionDate, result, score, latitude, longitude, inspectionId

US building permits (NYC, Chicago, Los Angeles, Austin) (United States, 92,743 rows, id us-building-permits)

Dataset page · Statistics · Licence: Public records, city open-data terms · refreshed 2026-08-24

curl "https://datascoop.io/v1/datasets/us-building-permits/query?source=Chicago&category=New%20construction&minCost=1000000&format=csv" \
  -H "Authorization: Bearer YOUR_KEY"
FilterMeaningType and matchExample
sourceSource
Publishing city
enum: New York City, Chicago, Los Angeles, Austin
eq
Chicago
categoryCategoryenum: New construction, Alteration or repair, Demolition, Electrical, Plumbing, Mechanical, Sign, Other
eq
New construction
areaArea contains
Borough, community area or plan area
text
contains
Brooklyn
zipPrefixZIP starts withtext
prefix
112
descriptionContainsDescription containstext
contains
solar
minCostMinimum estimated cost (USD)number
gte
100000
sinceIssued since (YYYY-MM-DD)text
gte
2026-06-01

Columns: permitNumber, category, permitType, description, status, source, area, address, zip, state, issuedDate, estimatedCost, contractorBusiness, latitude, longitude

FSA food hygiene information scheme (Scotland) (United Kingdom, 58,869 rows, id fhis-scotland)

Dataset page · Statistics · Licence: Open Government Licence v3.0 · refreshed 2026-08-24

curl "https://datascoop.io/v1/datasets/fhis-scotland/query?localAuthority=Glasgow&rating=Improvement%20Required&format=csv" \
  -H "Authorization: Bearer YOUR_KEY"
FilterMeaningType and matchExample
localAuthorityLocal authority
Council name, e.g. Glasgow City, City of Edinburgh, Aberdeen City
text
contains
Glasgow
businessTypeBusiness typetext
contains
Restaurant
ratingInspection resultenum: Pass, Pass and Eat Safe, Improvement Required, Awaiting Inspection, Exempt
eq
Improvement Required
postcodeAreaPostcode areatext
prefix
G1
nameContainsName containstext
contains
Cafe

Columns: businessName, businessType, ratingValue, ratingDate, addressLine1, addressLine2, town, postcode, localAuthority, latitude, longitude

Charity Commission register (England & Wales) (United Kingdom, 398,054 rows, id charity-commission)

Dataset page · Licence: Open Government Licence v3.0 · refreshed 2026-08-25

curl "https://datascoop.io/v1/datasets/charity-commission/query?status=Registered&minIncome=1000000&postcodeArea=LS&format=csv" \
  -H "Authorization: Bearer YOUR_KEY"
FilterMeaningType and matchExample
statusRegistration status
Most buyers want Registered only
enum: Registered, Removed
eq
Registered
charityTypeCharity typeenum: CIO, Charitable company, Trust, Previously excepted, Other
eq
CIO
nameContainsName containstext
contains
Hospice
activitiesContainsActivities contain
Search the charity's own description of what it does
text
contains
food bank
postcodeAreaPostcode area
Postcode prefix, e.g. LS (Leeds), SW1, M1. A bare letter also matches longer areas (M matches ME and MK), so use the district when it matters
text
prefix
LS
minIncomeMinimum latest income (GBP)number
gte
1000000
maxIncomeMaximum latest income (GBP)number
lte
25000
registeredSinceRegistered since (YYYY-MM-DD)text
gte
2025-01-01
reportingStatusReporting statusenum: Submission Received, Submission Received Late, Submission Overdue, Submission Double Default, New, Suppressed
eq
Submission Overdue
mainCharitiesOnlyMain charities only (exclude linked)boolean
bool
true

Columns: registeredCharityNumber, linkedCharityNumber, charityName, charityType, registrationStatus, registrationDate, removalDate, reportingStatus, financialYearEnd, latestIncome, latestExpenditure, address, postcode, website, companyNumber, isCIO, insolvent, inAdministration, giftAid, activities, extractDate, isMain

Companies House register (UK) (United Kingdom, 5,695,465 rows, id companies-house)

Dataset page · Licence: Crown copyright (Companies House reuse terms) · refreshed 2026-08-25

curl "https://datascoop.io/v1/datasets/companies-house/query?status=Active&postTown=Leeds&incorporatedSince=2026-01-01&format=csv" \
  -H "Authorization: Bearer YOUR_KEY"
FilterMeaningType and matchExample
statusStatusenum: Active, Active - Proposal to Strike off, Liquidation, In Administration, Live but Receiver Manager on at least one charge, Voluntary Arrangement, In Administration/Administrative Receiver, RECEIVERSHIP, ADMINISTRATION ORDER, ADMINISTRATIVE RECEIVER
eq
Active
categoryCompany typeenum: Private Limited Company, PRI/LTD BY GUAR/NSC (Private, limited by guarantee, no share capital), Limited Partnership, Limited Liability Partnership, Community Interest Company, Charitable Incorporated Organisation, PRI/LBG/NSC (Private, Limited by guarantee, no share capital, use of 'Limited' exemption), Overseas Entity, Other company type, Registered Society, Scottish Charitable Incorporated Organisation, Private Unlimited Company, Public Limited Company, Royal Charter Company, Investment Company with Variable Capital, United Kingdom Economic Interest Grouping, Scottish Partnership, Industrial and Provident Society
eq
Private Limited Company
postTownPost town
Registered office post town, exact (case-insensitive), e.g. Leeds, Manchester, London
text
eq
Leeds
postcodeAreaPostcode area
Registered office postcode prefix, e.g. LS (Leeds), SW1, M1. A bare letter also matches longer areas (M matches ME and MK)
text
prefix
LS1
countyCounty containstext
contains
West Yorkshire
sicSIC code or activity contains
Matches any of the four SIC codes or their descriptions, e.g. 62012 or "software development"
text
contains
62012
sicCodePrimary SIC code starts with
e.g. 62 for computer programming and consultancy, 56 for food and beverage service, 86 for human health
text
prefix
62
incorporatedSinceIncorporated since (YYYY-MM-DD)
New companies are the classic lead list
text
gte
2026-01-01
incorporatedBeforeIncorporated before (YYYY-MM-DD)text
lte
2000-01-01
accountCategoryAccounts categoryenum: MICRO ENTITY, NO ACCOUNTS FILED, TOTAL EXEMPTION FULL, DORMANT, UNAUDITED ABRIDGED, FULL, SMALL, AUDIT EXEMPTION SUBSIDIARY, GROUP, TOTAL EXEMPTION SMALL, MEDIUM, ACCOUNTS TYPE NOT AVAILABLE, AUDITED ABRIDGED, FILING EXEMPTION SUBSIDIARY
eq
MICRO ENTITY
nameContainsName containstext
contains
Consulting

Columns: companyName, companyNumber, companyStatus, companyCategory, incorporationDate, dissolutionDate, countryOfOrigin, addressLine1, addressLine2, postTown, county, country, postcode, sicCode1, sicCodes, accountCategory, accountsNextDue, accountsLastMadeUp, confStmtNextDue, confStmtLastMadeUp, mortgagesOutstanding, previousName, previousNameDate, uri, snapshotDate

US trucking companies (FMCSA motor carrier census) (United States, 2,230,993 rows, id us-motor-carriers)

Dataset page · Statistics · Licence: US federal public record (FMCSA open data) · refreshed 2026-08-25

curl "https://datascoop.io/v1/datasets/us-motor-carriers/query?state=TX&fleetBand=21-100%20units&format=csv" \
  -H "Authorization: Bearer YOUR_KEY"
FilterMeaningType and matchExample
stateState
Physical location state (two letters)
enum: AL, AK, AZ, AR, CA, CO, CT, DE, DC, FL, GA, HI, ID, IL, IN, IA, KS, KY, LA, ME, MD, MA, MI, MN, MS, MO, MT, NE, NV, NH, NJ, NM, NY, NC, ND, OH, OK, OR, PA, RI, SC, SD, TN, TX, UT, VT, VA, WA, WV, WI, WY, PR
eq
TX
cityCity
Physical location city, exact (case-insensitive)
text
eq
Houston
zipPrefixZIP starts withtext
prefix
770
operationOperationenum: Interstate, Intrastate hazmat, Intrastate non-hazmat
eq
Interstate
fleetBandFleet size bandenum: 1 unit, 2-5 units, 6-20 units, 21-100 units, 100+ units
eq
21-100 units
minPowerUnitsMinimum power unitsnumber
gte
10
maxPowerUnitsMaximum power unitsnumber
lte
50
minDriversMinimum driversnumber
gte
5
classificationClassification contains
Authorized For Hire, Exempt For Hire, Private (Property), Private (Passenger, Business), U.S. Mail, Federal/State/Local Government, Indian Tribe
text
contains
Authorized For Hire
businessTypeBusiness type
Populated for about 7% of carriers in the census (mostly older registrations)
enum: Corporation, LLC, Sole Proprietor, Partnership, Other
eq
Corporation
cargoCargo contains
e.g. General Freight, Household Goods, Building Materials, Fresh Produce, Liquids/Gases, Intermodal Containers, Passengers, Oilfield Equipment, Livestock, Grain, Coal, Meat, Garbage, Chemicals, Dry Bulk, Refrigerated Food, Beverages, Paper Products, Utilities, Farm Supplies, Construction, Water Well, Motor Vehicles, Drive/Tow away, Logs/Poles, Mobile Homes, Machinery, Metal sheets
text
contains
Refrigerated Food
hazmatHazmat carriers onlyboolean
bool
true
safetyRatingSafety ratingenum: Satisfactory, Conditional, Unsatisfactory
eq
Conditional
registeredSinceRegistered since (YYYY-MM-DD)
New carriers are the classic lead list
text
gte
2026-01-01
statusStatus
The default ingest keeps active carriers only
enum: Active, Inactive, Pending
eq
Active
nameContainsName containstext
contains
Logistics
cityStateCity, State
Exact city and state as shown on the list pages
text
eq
Houston, TX

Columns: dotNumber, legalName, dbaName, status, operation, businessType, classification, hazmat, cargo, address, city, state, zip, county, country, cityState, powerUnits, truckUnits, busUnits, fleetBand, totalDrivers, cdlDrivers, mileage, mileageYear, mcs150Date, registeredDate, mcNumber, safetyRating, safetyRatingDate, ownedTrucks, ownedTractors, ownedTrailers

US business licences (Chicago, New York City, San Francisco, Los Angeles) (United States, 824,024 rows, id us-business-licenses)

Dataset page · Statistics · Licence: Public records, city open-data terms · refreshed 2026-08-25

curl "https://datascoop.io/v1/datasets/us-business-licenses/query?source=Chicago&issuedSince=2026-08-01&format=csv" \
  -H "Authorization: Bearer YOUR_KEY"
FilterMeaningType and matchExample
sourceSource cityenum: Chicago, New York City, San Francisco, Los Angeles
eq
Chicago
areaArea
Exact area as shown on the list pages, e.g. Brooklyn, New York City; Mission, San Francisco; Council District 5, Los Angeles
text
eq
Lincoln Park, Chicago
areaContainsArea containstext
contains
Brooklyn
zipPrefixZIP starts withtext
prefix
606
categoryCategory contains
e.g. Retail Food Establishment, Tobacco, Home Improvement Contractor, Restaurant, Limited Business License
text
contains
Retail Food
naicsPrefixNAICS starts with
San Francisco and Los Angeles only; 72 = accommodation and food services, 44-45 = retail, 62 = health care
text
prefix
72
issuedSinceIssued since (YYYY-MM-DD)
New licences are the classic lead list
text
gte
2026-08-01
startedSinceStarted since (YYYY-MM-DD)text
gte
2026-01-01
expiresBeforeExpires before (YYYY-MM-DD)text
lte
2026-12-31
statusStatus
As published: Active (NYC, SF, LA) or AAI (Chicago: licence issued)
text
eq
Active
nameContainsName containstext
contains
Pizza

Columns: businessName, dbaName, category, naics, licenseNumber, status, issuedDate, startDate, expiryDate, source, area, address, city, state, zip, latitude, longitude, sourceId

US liquor licences (New York, Texas, Missouri, Colorado) (United States, 158,442 rows, id us-liquor-licenses)

Dataset page · Statistics · Licence: Public records, state open-data terms · refreshed 2026-08-25

curl "https://datascoop.io/v1/datasets/us-liquor-licenses/query?source=Texas&issuedSince=2026-07-01&format=csv" \
  -H "Authorization: Bearer YOUR_KEY"
FilterMeaningType and matchExample
sourceSource stateenum: New York, Texas, Missouri, Colorado
eq
Texas
areaCounty, State
Exact county and state as shown on the list pages
text
eq
Harris County, TX
countyCounty containstext
contains
Harris
cityCity
Exact, case-insensitive
text
eq
Houston
zipPrefixZIP starts withtext
prefix
770
licenseTypeLicence type containstext
contains
Restaurant
issuedSinceIssued since (YYYY-MM-DD)
New liquor licences are the classic lead list for restaurant and bar openings
text
gte
2026-07-01
expiresBeforeExpires before (YYYY-MM-DD)text
lte
2026-12-31
statusStatustext
eq
Active
nameContainsLicensee or trade name containstext
contains
Grill

Columns: licenseeName, dbaName, licenseType, licenseNumber, status, issuedDate, expiryDate, source, county, address, city, state, zip, area, latitude, longitude, sourceId

Australia aged care services (Aged Care Service List) (Australia, 5,378 rows, id au-aged-care)

Dataset page · Statistics · Licence: Creative Commons Attribution 4.0 · refreshed 2026-08-25

curl "https://datascoop.io/v1/datasets/au-aged-care/query?state=NSW&careType=Residential&minResidentialPlaces=60&format=csv" \
  -H "Authorization: Bearer YOUR_KEY"
FilterMeaningType and matchExample
stateStateenum: NSW, VIC, QLD, WA, SA, TAS, ACT, NT
eq
NSW
careTypeCare type
e.g. Residential, Home Care, Multi-Purpose Service, Transition Care, Short-Term Restorative Care
text
contains
Residential
organisationTypeOrganisation typeenum: Charitable, Community Based, Private Incorporated Body, Publicly Listed Company, Religious, State Government, Local Government
eq
Charitable
lgaLocal government area containstext
contains
Albury
lgaStateLGA, State
Exact LGA and state as shown on the list pages
text
eq
Albury, NSW
suburbSuburb
Exact, case-insensitive
text
eq
Albury
postcodePrefixPostcode starts withtext
prefix
26
minResidentialPlacesMinimum residential placesnumber
gte
60
remotenessRemoteness containstext
contains
Remote
providerContainsProvider containstext
contains
Bupa
nameContainsService name containstext
contains
Lodge

Columns: serviceName, careType, providerName, organisationType, residentialPlaces, homeCarePlaces, restorativeCarePlaces, address, suburb, state, postcode, planningRegion, remoteness, mmmCode, sa2, sa3, lga, phn, lgaState, listDate

Data policy

Every dataset is organisational data only (business names, addresses, ratings, permits, charities), reused under the open licence listed on /licences. Attribution text is attached to every response; keep it when you republish. Please cache what you fetch rather than polling; datasets refresh weekly.

© 2026 DataScoop. Organisational data only.About · Contact · Docs · Licences · Privacy · Terms