This repository contains the OpenAPI 3.1 specification for the Crustdata API: people, company, job, social post and web data for apps and AI agents.
| File | What it is |
|---|---|
crustdata-openapi-spec.yaml |
The spec. 50 operations, OpenAPI 3.1.0, API version 2025-11-01. |
crustdata-openapi-spec.json |
The same spec as JSON, for tools that want JSON. |
Every operation carries a summary, a full description with its price in credits, request and response examples, the error codes it returns, a link to its page in the docs, and code samples in cURL, Python and JavaScript.
To call the API you need an API key. Get one from the Crustdata dashboard.
curl --request POST \
--url https://api.crustdata.com/company/identify \
--header "authorization: Bearer $CRUSTDATA_API_KEY" \
--header 'content-type: application/json' \
--header 'x-api-version: 2025-11-01' \
--data '{"domains": ["retool.com"]}'Every request sends two headers: authorization: Bearer <key> and x-api-version: 2025-11-01.
- Postman or Insomnia: import
crustdata-openapi-spec.yaml(Import > File, or paste the raw GitHub URL). - Generate a client: point any OpenAPI 3.1 generator at the file, for example
npx @openapitools/openapi-generator-cli generate -i crustdata-openapi-spec.yaml -g python -o ./crustdata-client. - AI agents and LLM tools: load the spec as a tool definition, or use the hosted MCP server and llms.txt.
- Terminal: the Crustdata CLI covers the same endpoints.
Company Search API: POST /company/search
Find companies with structured filters, a plain-language query, or both. Filters cover firmographics, headcount, funding, hiring, technographics and more, with sorting and cursor pagination.
Company Autocomplete API: POST /company/search/autocomplete
Get valid values for a Company Search field, for example industries that start with "soft".
Company Identify API: POST /company/identify
Match a company from a name, domain, Crustdata ID or profile URL.
Company Enrichment API: POST /company/enrich
Get the full company profile: firmographics, headcount over time, funding, web traffic, reviews, people and news.
People Search API: POST /person/search
Find people by title, seniority, company, school, location, skills and career history, with sorting and cursor pagination.
Person Autocomplete API: POST /person/search/autocomplete and POST /professional_network/search/autocomplete
Get valid values for People Search fields, and for live search filters.
Person Identify API: POST /person/identify
Find people from profile URLs, business emails (reverse email lookup) or Google Scholar URLs.
Person Enrichment API: POST /person/enrich
Get the full person profile: employment history with dates, education, skills and location.
Contact Enrichment API: POST /person/contact/enrich
Get work emails, personal emails and phone numbers for a person.
Job Postings Search API: POST /job/search
Search open job listings with the hiring company's firmographics attached.
Job Autocomplete API: POST /job/search/autocomplete
Get valid values for a Job Search field.
Social Post Search API: POST /social_post/search
Search public posts from professional networks by keyword, author, company or date.
Web Search API: POST /web/search/live
Search the web in real time across web, news, academic and social sources.
Web Fetch API: POST /web/enrich/live
Fetch the content of one or more web pages.
Agent Search API: POST /agent/searches, GET /agent/searches/{search_id}, GET /agent/searches/{search_id}/events, POST /agent/searches/{search_id}/cancel
Ask a question in plain words. An agent searches the Crustdata datasets in the background and returns the matching people, companies or jobs with the reason each one matches.
Batch APIs: POST /batch/{company,person,job}/..., GET /batch/{batch_id}, GET /batch/
Run company search and enrich, person search, enrich, contact enrich, identify and verify, and job search as asynchronous jobs, then download the full result set as a file.
Discovery Watches: /watch/{dataset}/search
Re-run a search on a schedule and get only the new matches, delivered to a webhook, Slack, Google Chat or email.
Entity Watches: /watch/{dataset}
Watch a list of people or companies and get notified when a field changes: a job change, a funding round, a headcount jump.
Watch Runs: /watch/{dataset}/{watch_id}/runs
See each run of a watch and the records it delivered.
Account APIs: GET /account/endpoints, /account/credits, /account/usage/*
Free endpoints for your endpoint access, enabled fields, rate limits, credit balance and usage history.
Live and enterprise endpoints that the public API reference does not document yet are left out:
the /…/professional_network/…/live search and enrich endpoints, their batch versions,
/dev_platform/enrich and /employee_review/enrich. Ask gtm@crustdata.co about access.
The spec is generated from the API reference at docs.crustdata.com, so the
two never disagree. scripts/build.js fetches every reference page, takes the OpenAPI fragment each page
was rendered from, merges them into one file, converts it to OpenAPI 3.1 and adds code samples.
npm install
npm run build # fetch the docs and regenerate both spec files
npm run validate # structure checks, code samples compile, then redocly lintDon't edit the spec files by hand: fix the docs and rebuild. docs/STRUCTURE.md
explains how the file is laid out, docs/FIXUPS.md lists the corrections the build makes
on top of the docs, and docs/KNOWN-ISSUES.md lists what the docs still need to fix.
The specification is available under the MIT License.