TheirStack Datasets API
Datasets are a way to get data from TheirStack. We publish datasets of companies, jobs, and technographics, available via S3 as flat files. If you're interested in accessing our data this way, contact us at hi@theirstack.com.
Datasets are a way to get data from TheirStack. We publish datasets of companies, jobs, and technographics, available via S3 as flat files. If you're interested in accessing our data this way, contact us at hi@theirstack.com.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/theirstack-com:theirstack-com-datasets-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: TheirStack API Reference Datasets API
description: '# Introduction
Welcome to the TheirStack API - the largest database of jobs and technographics. You can use this API to access all our API endpoints, such as the Jobs endpoint to get real-time and historical jobs from more than 100 countries, the Companies endpoint to get a list of companies by the technology they use or by the roles they are hiring for, or
the Technographics endpoint to get a list of technologies used by a company. The API is organized around REST. All requests should be made over SSL. All request and response bodies, including errors, are encoded in JSON. A Swagger UI of these docs is also available at /openapi. ---
# Authentication
Authentication is done via the API key which you can find in your account settings. When making a call, you''ll have to specify this API key with the Authorization header. Here''s an example:
```sh
Authorization: Bearer
```
---
# Pagination
Responses that return a list of items are paginated. We offer two different pagination strategies:
- **Page-based**: This method allows you to navigate through paginated data by specifying the `page` and `limit` parameters. The `page` parameter indicates the page number you wish to retrieve, while the `limit` parameter specifies the maximum number of items to return per page. For POST requests, include these parameters in the request body. For GET requests, use them as query parameters. - **Offset-based**: This method allows you to navigate through paginated data by specifying the `offset` and `limit` parameters. The `offset` parameter indicates the starting point within the collection of results, while the `limit` parameter specifies the maximum number of items to return. For POST requests, include these parameters in the request body. For GET requests, use them as query parameters. Some of these endpoints also support the `include_total_results` body or query parameter. If you set it to `false`, the responses will be faster, and the field `total_results` of the response will be `null`. ---
# Rate Limit
All API endpoints are rate limited to ensure reliability and fair usage. When a limit is exceeded, the API returns **HTTP 429 Too Many Requests**. Limits are applied **per user** (or per API key) with sliding windows; multiple windows may apply simultaneously. ## Tiered endpoints and limits
Endpoints covered by tier-based limits:
* POST `/v1/jobs/search` (Jobs Search)
* POST `/v1/companies/search` (Companies Search)
* POST `/v1/companies/technologies` (Technographics)
Shared limits across all three endpoints:
| Tier | API limits |
| ---- | ------------------------------------- |
| Free | 4/second, 10/minute, 50/hour, 400/day |
| Paid | 4/second |
- **Paid tier** applies to users who have made at least one payment. - **Free tier** applies to all other users (users who have never paid or users without any payments done). Multiple limits are applied simultaneously. A request is rejected if it exceeds **any** active window. ## Rate limit headers
The API returns rate limit information in every response. We follow the **IETF HTTPAPI draft** for RateLimit headers: RateLimit header fields for HTTP. When multiple rate limits apply, header items are comma-separated and ordered consistently across headers. ### IETF compliant headers
- `RateLimit`: Current quota status per policy. Format: `""; r=; t=; pk=`. - `RateLimit-Policy`: Applied policy definition. Format: `""; q=; w=`. ### Other headers
These are included for client convenience:
- `RateLimit-Limit`: Total allowed requests for each window
- `RateLimit-Remaining`: Requests remaining in each window
- `RateLimit-Reset`: Seconds until the current window resets
The order of values in legacy headers **matches the order of `RateLimit` items**.'
version: 1.0.0
servers:
- url: https://api.theirstack.com
description: Production
tags:
- name: Datasets
description: Datasets are a way to get data from TheirStack. We publish datasets of companies, jobs, and technographics, available via S3 as flat files. If you're interested in accessing our data this way, contact us at hi@theirstack.com.
paths:
/v1/datasets:
get:
tags:
- Datasets
summary: List Datasets
description: List the datasets available to your team (jobs, companies and technographics), updated daily in Parquet format, with the latest download URLs for bulk data access.
operationId: get_datasets_v1
responses:
'200':
description: Successful Response
content:
application/json:
schema:
items:
$ref: '#/components/schemas/DatasetGroup'
type: array
title: Response Get Datasets V1
'422':
description: Unprocessable Content
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'402':
description: Payment Required
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
security:
- Bearer: []
/v1/datasets/credentials:
post:
tags:
- Datasets
summary: Generate Dataset Credentials
description: Generate temporary S3 credentials to directly access and download dataset files from cloud storage. Credentials are valid for 7 days by default and provide read-only access to your team's available datasets.
operationId: post_datasets_credentials_v1
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/BucketCredentials'
'422':
description: Unprocessable Content
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'402':
description: Payment Required
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
security:
- Bearer: []
components:
schemas:
Error:
properties:
code:
anyOf:
- type: string
- type: 'null'
title: Code
description: 'The error code. Eg: `E-001`, `E-002`, `E-003`, `E-004`, `E-005`, `E-006`, `E-007`, `E-008`, `E-009`, `E-010`, `E-011`, `E-012`, `E-013`, `E-014`, `E-015`, `E-016`'
examples:
- E-001
- E-002
- E-003
- E-004
- E-005
title:
type: string
title: Title
description: The error title.
examples:
- Not allowed exception
- Invalid re2 expression exception
- Invalid country code exception
- Connection reset by peer exception
- Too many requests exception
- Internal server error
- Validation error
- Timeout error
description:
anyOf:
- type: string
- type: 'null'
title: Description
description: The error description
type: object
required:
- title
title: Error
StorageConfig:
properties:
bucket_name:
type: string
title: Bucket Name
description: The S3/R2 bucket name where the datasets are stored
examples:
- datasets
endpoint_url:
type: string
title: Endpoint Url
description: The S3-compatible endpoint URL to use for accessing the bucket
examples:
- https://example-datasets-url.com
prefixes:
items:
type: string
type: array
title: Prefixes
description: The prefixes to use for the temporary credential
examples:
- - jobs/daily
type: object
required:
- bucket_name
- endpoint_url
- prefixes
title: StorageConfig
DatasetUpdateFrequency:
type: string
enum:
- hourly
- daily
- weekly
- monthly
title: DatasetUpdateFrequency
ErrorResponse:
properties:
request_id:
anyOf:
- type: integer
- type: 'null'
title: Request Id
description: The request id. This is useful to contact us to help you debug the issue. The request_id won't be present in all errors.
examples:
- null
error:
$ref: '#/components/schemas/Error'
type: object
required:
- error
title: ErrorResponse
BucketCredentials:
properties:
access_key_id:
type: string
title: Access Key Id
description: The access key id for the temporary credential
examples:
- a3f8b2c9d1e4f5a6b7c8d9e0f1a2b3c4
secret_access_key:
type: string
title: Secret Access Key
description: The secret access key for the temporary credential
examples:
- 7e9a2b4c6d8e0f1a3b5c7d9e1f3a5b7c9d1e3f5a
session_token:
type: string
title: Session Token
description: The session token for the temporary credential
examples:
- ZXlKaGJHY2lPaUpTVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SmlkV05yWlhRa
expiration:
type: string
format: date-time
title: Expiration
description: The expiration date of the temporary credential
examples:
- '2025-01-15T14:30:00Z'
storage:
$ref: '#/components/schemas/StorageConfig'
description: Storage configuration including bucket name and endpoint URL
type: object
required:
- access_key_id
- secret_access_key
- session_token
- expiration
- storage
title: BucketCredentials
DatasetGroup:
properties:
type:
anyOf:
- type: string
enum:
- jobs
- companies
- technologies
- technographics
- buying_intents
- buying_intent_topics
- jobs_closed
- type: 'null'
title: Type
description: Dataset type
name:
anyOf:
- type: string
- type: 'null'
title: Name
description: Human-readable dataset type name
description:
anyOf:
- type: string
- type: 'null'
title: Description
description: Description of the dataset
is_accessible:
anyOf:
- type: boolean
- type: 'null'
title: Is Accessible
description: Is this dataset accessible for the user based on their paid plan?
options:
anyOf:
- items:
$ref: '#/components/schemas/DatasetOption'
type: array
- type: 'null'
title: Options
description: Options of the dataset
type: object
title: DatasetGroup
DatasetOption:
properties:
id:
type: string
title: Id
description: ID of the dataset option
description:
anyOf:
- type: string
- type: 'null'
title: Description
description: Description of the dataset option
item_type:
type: string
enum:
- file
- folder
title: Item Type
description: Type of the dataset option. If it is a folder, it means that the dataset is a folder and the path is the path of the folder. In this case, path will have a value and dataset_url will be null. If it is a file, it means that the dataset is a file and the dataset_url will have a value, and path will be null.
default: file
format:
type: string
enum:
- csv
- parquet
title: Format
description: Format of the dataset
frequency:
anyOf:
- $ref: '#/components/schemas/DatasetUpdateFrequency'
- type: 'null'
description: Update frequency of the dataset
default: daily
version:
type: string
title: Version
description: Version of the dataset
is_deprecated:
anyOf:
- type: boolean
- type: 'null'
title: Is Deprecated
description: Is this dataset deprecated? If yes, it means that this dataset is no longer available for download.
dataset_prefix:
anyOf:
- type: string
- type: 'null'
title: Dataset Prefix
description: S3/R2 path prefix URL for listing and accessing datasets (for use with temporary credentials to list files)
dataset_url:
anyOf:
- type: string
- type: 'null'
title: Dataset Url
description: URL of the dataset
dictionary_url:
anyOf:
- type: string
- type: 'null'
title: Dictionary Url
description: URL of the dictionary
deprecated: true
sample_dataset_url:
anyOf:
- type: string
- type: 'null'
title: Sample Dataset Url
description: URL of the sample dataset
sample_dataset_csv_url:
anyOf:
- type: string
- type: 'null'
title: Sample Dataset Csv Url
description: URL of the sample dataset as CSV, which every dataset has, even the ones published only in Parquet
last_updated:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Last Updated
description: Last updated date of the dataset
size:
anyOf:
- type: integer
- type: 'null'
title: Size
description: Size of the dataset in bytes
type: object
required:
- id
- format
- version
title: DatasetOption
description: Dataset option for v1 API. Extends base config with runtime fields.
securitySchemes:
Bearer:
type: http
scheme: bearer