---
canonical_url: "https://docs.composio.dev/toolkits/theirstack_mcp"
markdown_url: "https://docs.composio.dev/toolkits/theirstack_mcp.md"
product: "platform"
version: null
last_updated: null
---

# TheirStack MCP

TheirStack MCP lets agents search job postings, companies and technographics, manage company lists, saved searches, sales signals, webhooks and CRM sync through TheirStack's hosted MCP server.

- **Category:** model context protocol
- **Auth:** DCR_OAUTH
- **Composio-managed OAuth available?** No
- **Tools:** 86
- **Triggers:** 0
- **Slug:** `THEIRSTACK_MCP`
- **Version:** 20261129_00

## Tools

### Add companies to list

**Slug:** `THEIRSTACK_MCP_ADD_COMPANIES_TO_LIST`

Add companies to one of the team's company lists by their company IDs, the `id` of each company in a company search result. Returns the list with its new company count. If a company is not found, nothing is added and the error names the IDs that were not found.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `list_id` | integer | Yes |  |
| `company_ids` | array | Yes | Company IDs to add, the `id` of each company in a company search result |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `name` | string | Yes | Name of the company list |
| `type` | string | No | Type of the list: MANUAL_CREATION, WEBHOOK_TRIGGERED, REVEALED_COMPANIES |
| `user_id` | string | No | User ID of the list owner |
| `deletable` | string | No | Whether the list can be deleted |
| `created_at` | string | Yes |  |
| `webhook_id` | string | No | Webhook ID of the list |
| `companies_count` | integer | No | Number of companies in the list |
| `customer_crm_connection_id` | string | No | CRM connection that keeps this list in sync (CUSTOMER_CRM_SYNC lists) |

### Add companies to multiple lists

**Slug:** `THEIRSTACK_MCP_ADD_COMPANIES_TO_MULTIPLE_LISTS`

Add the same companies to several of the team's company lists in one call, by their company IDs, the `id` of each company in a company search result. Nothing is added if any list ID isn't one of the team's lists.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `list_ids` | array | No | IDs of the company lists to add the companies to |
| `company_ids` | array | No | Company IDs to add, the `id` of each company in a company search result |

### Archive sales signal

**Slug:** `THEIRSTACK_MCP_ARCHIVE_SALES_SIGNAL`

Delete a signal: it, its saved search and the webhook that found its evidence are archived together. Its tag leaves the accounts in the feed, and the companies only it found leave the feed.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `signal_id` | integer | Yes | ID of the sales signal |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `archived_at` | string | Yes |  |

### Archive webhook

**Slug:** `THEIRSTACK_MCP_ARCHIVE_WEBHOOK`

Archive a webhook by its ID to permanently stop event delivery and remove it from the active webhook list. Archived webhooks and their event history are retained for reference but will no longer trigger notifications.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `webhook_id` | integer | Yes | ID of the webhook |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `url` | string | Yes | URL of the webhook |
| `team_id` | integer | Yes |  |
| `user_id` | integer | Yes |  |
| `is_active` | boolean | Yes |  |
| `search_id` | integer | Yes | ID of the search that the webhook is listening to. |
| `created_at` | string | Yes |  |
| `event_type` | string | Yes | Deprecated: use active_event_types. Primary event type derived from webhook_type. |
| `has_secret` | boolean | Yes |  |
| `updated_at` | string | Yes |  |
| `description` | string | No | Description of the webhook |
| `is_archived` | boolean | Yes |  |
| `search_name` | string | Yes |  |
| `webhook_type` | string ("jobs" | "companies") | Yes |  |
| `active_event_types` | array | Yes |  |
| `max_events_per_day` | string | No | Most new records the webhook takes on per UTC day, or null for no cap. A job webhook counts jobs: each can send its job.new and, when it closes, its job.closed, so a job costs at most two credits. Records over it are dropped, never sent, charged or queued for the next day. Minimum 1: to send nothing, disable the webhook. |
| `scanning_frequency` | string | No | Scanning frequency for the webhook |
| `listening_start_time` | string | No | Date when the webhook started listening for events. If listening_start_time is None, the webhook will listen to all events matching the search query regardless of when they occurred. |
| `trigger_once_per_company` | boolean | No | Only for webhook type ='job.new'. If true, Company A with 5 jobs → 1 event triggered. If false, Company A with 5 jobs → 5 events triggered |

### Cancel billing invoice

**Slug:** `THEIRSTACK_MCP_CANCEL_BILLING_INVOICE`

Cancel one of the team's open (unpaid) invoices by marking it uncollectible in Stripe, so it is no longer collected. It does not void, delete or refund the invoice, and it does not change the subscription or plan. Draft, paid, void and already uncollectible invoices are rejected.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `invoice_id` | string | Yes | The Stripe Invoice ID |

### Cancel subscription

**Slug:** `THEIRSTACK_MCP_CANCEL_SUBSCRIPTION`

Cancel the current team's subscription at the end of the billing period, recording a mandatory cancellation survey in the same call.

Before calling this, collect the survey from the user — do not invent the answers:
- `reason`: why they are cancelling (one of the allowed values).
- `reason_detail`: why that reason, in their own words (required free text — e.g. which provider they are moving to, what price would have worked, which feature was missing).
- `experience`: how their overall experience was (`bad`/`okay`/`good`).
- `improvement_feedback`: what we could have done better (required free text).

The subscription keeps working until the period ends; the team is not billed again.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `reason` | string ("no_longer_needed" | "different_provider" | "unmet_expectations" | "too_expensive" | "missing_features" | "technical_issues" | "other") | Yes | Primary reason for cancelling the subscription. |
| `experience` | string ("bad" | "okay" | "good") | Yes | Overall experience with the product while subscribed. |
| `reason_detail` | string | Yes | Why that reason, in the customer's own words: the provider they are switching to, the price that would have worked, the feature they missed, what changed so they no longer need it. Mandatory free text. |
| `subscription_id` | string | Yes | The Stripe Subscription ID |
| `auto_recharge_offer` | string ("accepted" | "declined") | No | Whether the customer accepted or declined the auto-recharge offer shown before the survey. Omit when the offer was not shown (no recent API usage). |
| `improvement_feedback` | string | Yes | What we could have done better. Mandatory free text. |

### Change sales signal filters

**Slug:** `THEIRSTACK_MCP_CHANGE_SALES_SIGNAL_FILTERS`

Replace a signal's filters. Read the current ones first with `get_saved_search` (its `saved_search_id` comes from `get_sales_signals`) and try the new ones with `search_jobs` or `search_companies`. Its saved search and the webhook that found its evidence are archived, and a new pair finds its companies again from scratch, charging API credits for up to 1,000 records as when the signal was created (1 per job ad, 3 per company). The old matches leave the feed. The signal is active afterwards, even if it was off: it keeps scanning and each new match costs credits until you turn it off with `update_sales_signal`. A signal's saved search cannot be changed through the saved-search routes.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | object | Yes | The new saved search body, of the signal's search type, with the account's shared filters merged in |
| `signal_id` | integer | Yes | ID of the sales signal |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `name` | string | Yes |  |
| `role` | string ("target_role" | "decision_maker" | "customer" | "competitor" | "integration" | "prerequisite" | "pain" | "initiative" | "compliance" | "vertical") | Yes | What the signal means for the sale |
| `weight` | integer | Yes | 1 low, 2 medium, 3 high |
| `products` | array | Yes | The products it pitches, by their name in the brand book |
| `detectors` | array | Yes | What its filters detect: T1 technology detected, J1 job title, J2 job description, J3 technology named in a job ad, J6 open roles count |
| `is_active` | boolean | Yes | Whether it keeps looking for new companies: its webhook scans every few hours. An inactive signal keeps its matches in the feed. |
| `created_at` | string | Yes |  |
| `updated_at` | string | Yes |  |
| `archived_at` | string | Yes | When it was deleted. Null while it is live: only listed with `include_archived`. |
| `description` | string | Yes | Why it means they could buy |
| `search_type` | string | Yes |  |
| `scan_running` | boolean | Yes | Its first scan has not finished: more companies may come |
| `last_scanned_at` | string | Yes | When its last scan finished. An inactive signal finds nothing newer until it is turned on. Null if no scan has finished. |
| `saved_search_id` | integer | Yes | The saved search holding its filters |
| `technology_slugs` | array | Yes | The technologies its filters name |
| `hide_crm_accounts` | boolean | Yes | Whether it hides the accounts the CRM marks as customers or open deals |
| `companies_matching` | integer | Yes |  |

### Count companies by country

**Slug:** `THEIRSTACK_MCP_COUNT_COMPANIES_BY_COUNTRY`

List every ISO country code with the number of companies headquartered in that country, for geographic distribution analysis. Free: it doesn't consume credits.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | Page number. |
| `limit` | integer | No | Number of results per page |
| `country` | string | No | Name of a country. Will return the country matching their name in English |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | array | Yes |  |
| `metadata` | string | Yes |  |

### Count jobs by country

**Slug:** `THEIRSTACK_MCP_COUNT_JOBS_BY_COUNTRY`

List every country code with the number of jobs located in that country and the number of companies hiring there. Search by country name in English.

Free: it doesn't consume credits.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | Page number. |
| `limit` | integer | No | Number of results per page |
| `country` | string | No | Name of a country. Will return the country matching their name in English |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | array | Yes |  |
| `metadata` | string | Yes |  |

### Count webhook events

**Slug:** `THEIRSTACK_MCP_COUNT_WEBHOOK_EVENTS`

Count the events a webhook has triggered, optionally only those with a given delivery status. Use it when the number is all you need, such as how many deliveries failed.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `status` | string ("IN_PROGRESS" | "SUCCESS" | "FAILED" | "NOT_TRIGGERED") | No | Status of the webhook events to filter by |
| `webhook_id` | integer | Yes | ID of the webhook |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | integer | Yes |  |

### Count webhook events per day

**Slug:** `THEIRSTACK_MCP_COUNT_WEBHOOK_EVENTS_PER_DAY`

Count the team's webhook events per day over a date range (the last 30 days by default), with the credits they consumed, for one webhook or all of them. Optionally split each day by delivery status, webhook or event type, e.g. to chart delivery health over time.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `group_by` | string | No | Dimensions to split each day's count by: delivery status, webhook or event type. Several can be combined. |
| `timezone` | string | No | IANA timezone string (e.g., 'Europe/Madrid', 'America/New_York') |
| `webhook_id` | string | No | Webhook ID |
| `end_datetime` | string | No | End of the range, in ISO format (e.g. 2023-01-01T23:59:59). Defaults to now. |
| `start_datetime` | string | No | Start of the range, in ISO format (e.g. 2023-01-01T00:00:00). Defaults to 30 days before the end. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### Create company list

**Slug:** `THEIRSTACK_MCP_CREATE_COMPANY_LIST`

Create an empty company list for the team. Add companies to it afterwards by their company IDs.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Name of the company list |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `name` | string | Yes | Name of the company list |
| `type` | string | No | Type of the list: MANUAL_CREATION, WEBHOOK_TRIGGERED, REVEALED_COMPANIES |
| `user_id` | string | No | User ID of the list owner |
| `deletable` | string | No | Whether the list can be deleted |
| `created_at` | string | Yes |  |
| `webhook_id` | string | No | Webhook ID of the list |
| `companies_count` | integer | No | Number of companies in the list |
| `customer_crm_connection_id` | string | No | CRM connection that keeps this list in sync (CUSTOMER_CRM_SYNC lists) |

### Create sales signal

**Slug:** `THEIRSTACK_MCP_CREATE_SALES_SIGNAL`

Create a sales signal in your workspace: a search TheirStack keeps running, whose matching companies show up in the workspace's accounts feed with the evidence of why they match. Try its filters with `search_jobs` or `search_companies` first, and create the signal once they find the companies worth contacting. It charges API credits, 1 per job ad for a job signal and 3 per company for a company signal: up to 1,000 records on its first scan, then each new match while it is active, at most 1,000 a day (matches past that are dropped, not kept for later). A name another live signal of the workspace has is refused (409), so a retried call never creates or charges twice.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | object | Yes | The filters, as a flat object: the `search_jobs` filter fields when `search_type` is 'jobs', the `search_companies` ones when it is 'companies'. Don't wrap them in another key. |
| `name` | string | Yes | Unique among the workspace's signals; also the name of its saved search |
| `role` | string ("target_role" | "decision_maker" | "customer" | "competitor" | "integration" | "prerequisite" | "pain" | "initiative" | "compliance" | "vertical") | Yes | What the signal means for the sale |
| `weight` | integer | No | 1 low, 2 medium, 3 high |
| `products` | array | No | The products it pitches, by their name in the workspace's brand book |
| `description` | string | No | Why it means they could buy |
| `search_type` | string ("companies" | "jobs") | Yes | `jobs` when `body` is a job search, `companies` when it is a company search |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `name` | string | Yes |  |
| `role` | string ("target_role" | "decision_maker" | "customer" | "competitor" | "integration" | "prerequisite" | "pain" | "initiative" | "compliance" | "vertical") | Yes | What the signal means for the sale |
| `weight` | integer | Yes | 1 low, 2 medium, 3 high |
| `products` | array | Yes | The products it pitches, by their name in the brand book |
| `detectors` | array | Yes | What its filters detect: T1 technology detected, J1 job title, J2 job description, J3 technology named in a job ad, J6 open roles count |
| `is_active` | boolean | Yes | Whether it keeps looking for new companies: its webhook scans every few hours. An inactive signal keeps its matches in the feed. |
| `created_at` | string | Yes |  |
| `updated_at` | string | Yes |  |
| `archived_at` | string | Yes | When it was deleted. Null while it is live: only listed with `include_archived`. |
| `description` | string | Yes | Why it means they could buy |
| `search_type` | string | Yes |  |
| `scan_running` | boolean | Yes | Its first scan has not finished: more companies may come |
| `last_scanned_at` | string | Yes | When its last scan finished. An inactive signal finds nothing newer until it is turned on. Null if no scan has finished. |
| `saved_search_id` | integer | Yes | The saved search holding its filters |
| `technology_slugs` | array | Yes | The technologies its filters name |
| `hide_crm_accounts` | boolean | Yes | Whether it hides the accounts the CRM marks as customers or open deals |
| `companies_matching` | integer | Yes |  |

### Create saved search

**Slug:** `THEIRSTACK_MCP_CREATE_SAVED_SEARCH`

Save a job or company search so you can run it again, open it in the app or attach a webhook to it. The body takes the same filters as the job or company search. Saving costs no credits, and a name is generated from the filters when none is given.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | object | Yes | The filters, as a flat object: the `search_jobs` filter fields when `type` is 'jobs', the `search_companies` ones when it is 'companies'. Don't wrap them in another key. |
| `name` | string | No | Name of the saved search |
| `type` | string ("companies" | "jobs") | Yes | Type of the saved search. |
| `is_alert_active` | boolean | No | Email new results to the creator of the saved search, weekly by default. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | ID of the saved search |
| `body` | string | Yes | Filters. CompanySearchFilters if type is 'companies', JobSearchFilters if type is 'jobs' |
| `name` | string | Yes | Name of the saved search |
| `path` | string | No | Path of the request |
| `type` | string | Yes | Type of the saved search. |
| `query` | string | No | Query of the request |
| `origin` | string | No | `manual` for the team's own searches, `signal` for the search that holds a sales signal's filters, which only the signal can change |
| `creator` | string | Yes | User who created the saved search |
| `team_id` | integer | Yes | Team of the saved search |
| `user_id` | integer | Yes | Owner of the saved search |
| `frequency` | string | No | Frequency of emails alerts sent. |
| `created_at` | string | Yes | Date and time when the saved search was created |
| `updated_at` | string | Yes | Date and time when the saved search was last updated |
| `is_archived` | boolean | No | Is the saved search archived |
| `is_alert_active` | boolean | No | Is the alert active |
| `emails_subscribed` | string | No | The creator's email, recorded when the saved search was created. Alerts are sent to the creator. |
| `querystring_params` | string | No | Dictionary containing the querystring parameters of the request. |
| `has_active_webhooks` | boolean | No | Has active webhooks |

### Create webhook

**Slug:** `THEIRSTACK_MCP_CREATE_WEBHOOK`

Create a webhook on a saved search: each new record the search matches is sent as an HTTP POST to the URL you give, and every record sent consumes credits. Use it when the user wants new matches delivered to their own system. Check the URL first with a test event, and size the daily event limit from the saved search's estimated volume.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | URL of the webhook |
| `secret` | string | No | Secret used to sign webhook payloads with HMAC-SHA256. If set, deliveries include an X-TheirStack-Signature-256 header. |
| `search_id` | integer | Yes | ID of the search that the webhook is listening to. |
| `description` | string | No | Description of the webhook |
| `active_event_types` | string | No | Event types this webhook subscribes to. If None, defaults to the search type's primary event (job_new for jobs, company_new for companies). |
| `max_events_per_day` | string | No | Most new records the webhook takes on per UTC day, or null for no cap. A job webhook counts jobs: each can send its job.new and, when it closes, its job.closed, so a job costs at most two credits. Records over it are dropped, never sent, charged or queued for the next day. Minimum 1: to send nothing, disable the webhook. |
| `listening_start_time` | string | No | Date when the webhook started listening for events. If listening_start_time is None, the webhook will listen to all events matching the search query regardless of when they occurred. |
| `trigger_once_per_company` | boolean | No | Only for webhook type ='job.new'. If true, Company A with 5 jobs → 1 event triggered. If false, Company A with 5 jobs → 5 events triggered |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `url` | string | Yes | URL of the webhook |
| `team_id` | integer | Yes |  |
| `user_id` | integer | Yes |  |
| `is_active` | boolean | Yes |  |
| `search_id` | integer | Yes | ID of the search that the webhook is listening to. |
| `created_at` | string | Yes |  |
| `event_type` | string | Yes | Deprecated: use active_event_types. Primary event type derived from webhook_type. |
| `has_secret` | boolean | Yes |  |
| `updated_at` | string | Yes |  |
| `description` | string | No | Description of the webhook |
| `is_archived` | boolean | Yes |  |
| `search_name` | string | Yes |  |
| `webhook_type` | string ("jobs" | "companies") | Yes |  |
| `active_event_types` | array | Yes |  |
| `max_events_per_day` | string | No | Most new records the webhook takes on per UTC day, or null for no cap. A job webhook counts jobs: each can send its job.new and, when it closes, its job.closed, so a job costs at most two credits. Records over it are dropped, never sent, charged or queued for the next day. Minimum 1: to send nothing, disable the webhook. |
| `scanning_frequency` | string | No | Scanning frequency for the webhook |
| `listening_start_time` | string | No | Date when the webhook started listening for events. If listening_start_time is None, the webhook will listen to all events matching the search query regardless of when they occurred. |
| `trigger_once_per_company` | boolean | No | Only for webhook type ='job.new'. If true, Company A with 5 jobs → 1 event triggered. If false, Company A with 5 jobs → 5 events triggered |

### Create workspace

**Slug:** `THEIRSTACK_MCP_CREATE_WORKSPACE`

Create a new workspace that you own, for a separate project, client or company, with its own credits, searches, lists and webhooks. It starts with no free credits, so it needs credits bought for it before it can search. You can own up to 5 workspaces. This connection keeps working in the workspace you chose when you connected TheirStack: to work in the new one, connect again and choose it. Set `email_domain` only to a domain your company owns: anyone who signs up with it joins the workspace as a member.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Name of the new team |
| `website` | string | No | Website URL of the team |
| `image_key` | string | No | S3 key of the team logo (from file upload) |
| `email_domain` | string | No | Email domain for automatic team invitation (e.g. acme.com) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `role` | string | Yes | The current user's role in the team |
| `team` | string | Yes | The team |
| `last_selected_at` | string | No | When the user last switched to this workspace. The most recent value indicates the user's default workspace. |

### Delete company list

**Slug:** `THEIRSTACK_MCP_DELETE_COMPANY_LIST`

Permanently delete a company list by ID. Only the list goes: the companies in it, and any other list that holds them, are not affected. Only the list's owner can delete it, and the 'Companies seen' list can't be deleted.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `list_id` | integer | Yes |  |

### Duplicate company list

**Slug:** `THEIRSTACK_MCP_DUPLICATE_COMPANY_LIST`

Copy one of the team's company lists, with all its companies, into a new list owned by you and named like the original with ' (copy)' added.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `list_id` | integer | Yes |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `name` | string | Yes | Name of the company list |
| `type` | string | No | Type of the list: MANUAL_CREATION, WEBHOOK_TRIGGERED, REVEALED_COMPANIES |
| `user_id` | string | No | User ID of the list owner |
| `deletable` | string | No | Whether the list can be deleted |
| `created_at` | string | Yes |  |
| `webhook_id` | string | No | Webhook ID of the list |
| `companies_count` | integer | No | Number of companies in the list |
| `customer_crm_connection_id` | string | No | CRM connection that keeps this list in sync (CUSTOMER_CRM_SYNC lists) |

### Estimate saved search volume

**Slug:** `THEIRSTACK_MCP_ESTIMATE_SAVED_SEARCH_VOLUME`

Returns how many records a saved search matched per day over the last 7 days, and what they would cost. Use it to size max_events_per_day: a cap below avg_records_per_day means the webhook will drop matches every day, and dropped matches are never sent later. A webhook whose events are companies (a company search, or trigger_once_per_company) has no daily estimate and returns nulls with an unavailable_reason.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `search_id` | integer | Yes | ID of the saved search to estimate |
| `trigger_once_per_company` | boolean | No | Whether the webhook fires once per company. A webhook that does has no daily estimate, because its events are companies rather than jobs and it only fires for companies it has not sent yet. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `search_id` | integer | Yes | The saved search this estimate is for. |
| `credits_per_record` | integer | Yes | API credits one event costs: 1 for jobs, 3 for companies. |
| `unavailable_reason` | string | No | Why there is no estimate, when there is none. Null when there is. |
| `avg_credits_per_day` | string | No | avg_records_per_day * credits_per_record. Null when the estimate is unavailable. |
| `avg_records_per_day` | string | No | records_last_7_days / 7, rounded down. The number to compare a daily cap against. Null when the estimate is unavailable. |
| `records_last_7_days` | string | No | Records matching the search that we discovered in the last 7 days. When the search's own date filters reach back fewer days (e.g. posted in the last 24 hours), it is measured over that shorter window and scaled to 7 days. Null when the estimate is unavailable. |

### Find locations

**Slug:** `THEIRSTACK_MCP_FIND_LOCATIONS`

Search for geographic locations by name or ID to retrieve standardized location data including city, region, and country. Use the location IDs in the job_location_or and job_location_not filters of a job search to filter by city or region.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No | The ids of the locations |
| `name` | string | No | Search value for the location, this will be used to filter the locations by name |
| `limit` | integer | No | The limit of the results |
| `offset` | integer | No | The offset of the results |
| `country_code` | string | No | The country code of the location, all the returned locations will be filtered by this country code |
| `feature_code` | string | No | GeoNames feature code(s) to filter by location type (e.g. PPL=populated place, ADM1=first-order admin division). See https://www.geonames.org/export/codes.html |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### Find technologies and topics

**Slug:** `THEIRSTACK_MCP_FIND_TECHNOLOGIES_AND_TOPICS`

Find technologies and buying intent topics in TheirStack's keyword catalog, and the slugs the technology and keyword filters of the search tools take. Search by name with `q`; results are sorted by how many companies have each keyword. Pass `keyword_type=technology` for technologies only, or `keyword_type_not=technology` for buying intent topics only. There are about 42k keywords, so search rather than page through them. Free: it doesn't consume credits.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `q` | string | No | General search query. Searches across keyword name, keyword type, category, and parent category (case-insensitive). Results where the keyword name starts with the query are ranked first. |
| `page` | integer | No | Page number. |
| `slug` | string | No | Keyword slug of a single keyword |
| `limit` | integer | No | Number of results per page |
| `slugs` | string | No | Keyword slugs of one or many keywords |
| `starts_with` | string | No | Filter keywords whose name starts with this string (e.g. 'A' for glossary). Special value '__other__' selects keywords whose name does not start with letters A-Z. |
| `keyword_type` | string ("technology" | "software_product" | "technology_concept" | "operational_activity" | "strategic_initiative" | "metric_or_concept" | "product_or_service_offered" | "regulation" | "threat_or_risk" | "event" | "commodity" | "industry_vertical" | "physical_equipment" | "medical_research" | "government_body") | No | Keyword type to filter by |
| `name_pattern` | string | No | Case-insensitive text to search for in the keyword name |
| `category_slug` | string | No | Keyword category slug |
| `category_pattern` | string | No | Case-insensitive text to search for in the keyword category. For example, `data` to find 'data tools'. |
| `include_metadata` | boolean | No | Deprecated, metadata is always included now |
| `keyword_type_not` | string | No | Exclude keywords of these types |
| `parent_category_slug` | string | No | Keyword parent category slug |
| `parent_category_pattern` | string | No | Case-insensitive text to search for in the keyword parent category name |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | array | No |  |
| `metadata` | string | Yes |  |

### Generate app url

**Slug:** `THEIRSTACK_MCP_GENERATE_APP_URL`

Build a deep link into the TheirStack app for a given resource and return it as `{"url": ...}`. Pick the resource with the `type` field: `company_list` (view a list), `job_search` / `company_search` (open a search from the same filters a job or company search takes), `saved_search` (open a saved search), or `webhook` (view a webhook). Search links (`job_search` / `company_search`) are workspace-independent — the encoded query opens against whoever's session loads it, so the link is portable when shared. The other types point at a workspace-specific resource and include the workspace, which is taken from the authenticated caller, so it is never passed in.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `type` | string | No | Selects the variant. Accepted values: 'company_list', 'job_search', 'company_search', 'saved_search', 'webhook'. 'company_list' uses type, list_id; 'job_search' uses type, filters; 'company_search' uses type, filters; 'saved_search' uses type, saved_search_id, search_type; 'webhook' uses type, webhook_id. Send only the fields belonging to the selected variant. |
| `filters` | string | No |  |
| `list_id` | integer | No | ID of the company list to open |
| `webhook_id` | integer | No | ID of the webhook to open |
| `search_type` | string ("jobs" | "companies") | No | Whether the saved search is a jobs or a companies search |
| `saved_search_id` | integer | No | ID of the saved search to open |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | Full workspace-scoped URL into the TheirStack app |

### Get brand book

**Slug:** `THEIRSTACK_MCP_GET_BRAND_BOOK`

The workspace's own company profile, products and services, the problems
they solve (with the job titles that own them), ideal customer profiles (as
company search filters), customers cited in case studies and competitors.
Read it before researching sales signals for the workspace, and start from
it. Until the workspace saves its own, it may read one prepared for its
company, flagged `inherited`.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No |  |
| `source` | string | No |  |
| `team_id` | integer | Yes |  |
| `inherited` | boolean | No | True while the workspace has not saved its own brand book and reads the one prepared for its company; saving makes it the workspace's own. |
| `brand_book` | string | Yes |  |
| `created_at` | string | No |  |
| `schema_version` | integer | Yes | The schema version `brand_book` is returned in (always the current one). |
| `filter_problems` | array | No | Ideal customer profiles whose filters company search would reject today; fix them before running them as a search. |
| `updated_by_user_id` | string | No |  |
| `stored_schema_version` | string | No | The schema version this version was written in; older ones are upgraded on read. |

### Get companies in list

**Slug:** `THEIRSTACK_MCP_GET_COMPANIES_IN_LIST`

List the companies in one of the team's company lists, each with its company profile and the dates it was added and revealed. Paginated; sort by reveal date or name, or filter by part of the company name.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | Page number. Required when using [page-based pagination](https://theirstack.com/en/docs/api-reference/pagination). |
| `limit` | integer | No | Number of results per page |
| `offset` | integer | No | Number of results to skip. Required for [offset-based pagination](https://theirstack.com/en/docs/api-reference/pagination). |
| `list_id` | integer | Yes |  |
| `order_by` | string ("revealed_at" | "name") | No | Order by field |
| `order_direction` | string ("asc" | "desc") | No | Order direction |
| `company_name_partial` | string | No | Pass a partial company name to filter the list of companies |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### Get company buying intents

**Slug:** `THEIRSTACK_MCP_GET_COMPANY_BUYING_INTENTS`

List the buying intent topics detected for a company. For each topic, it returns the confidence level (`low`, `medium`, `high`), the number of jobs that mention the topic, and the first and last dates it was mentioned.

You must specify at least one of `company_domain`, `company_name` or `company_linkedin_url`.

It consumes **3 API credits** per company lookup, regardless of the number of buying intent topics returned. It doesn't consume credits if there is no response.

Job, company, technographics and buying intent searches share one rate limit per user (10 per minute on the free plan).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | string | No | Page number. Required when using [page-based pagination](https://theirstack.com/en/docs/api-reference/pagination). |
| `limit` | string | No | Number of results per page |
| `offset` | string | No | Number of results to skip. Required for [offset-based pagination](https://theirstack.com/en/docs/api-reference/pagination). |
| `max_jobs` | string | No | Maximum number of jobs in which each company mentions the keyword (technology or buying intent topic) |
| `max_rank` | string | No | The rank measures how common a keyword (technology or buying intent topic) is within its category for a company. The keyword most mentioned among similar ones by a company has a rank of 1, the second 2, etc. Useful to keep only the primary technology or topic of each category. |
| `min_jobs` | string | No | Minimum number of jobs in which each company mentions the keyword (technology or buying intent topic) |
| `company_id` | string | No | Only return companies that match this TheirStack Company ID exactly. This ID is temporary and internal and will change in the future and become stable. Until then, it is only meant to be used internally by our UI (app.theirstack.com). For deduplication logic, use company_domain or company_linkedin_url instead. |
| `company_name` | string | No | Only return companies that match this name exactly, case-sensitively. |
| `confidence_or` | array | No | Only return keywords (technologies or buying intent topics) detected with any of these confidence levels. Available values: "high", "medium", "low" |
| `company_domain` | string | No | Only return companies that match this domain exactly. It accepts full urls (https://www.google.com/) and emails (andrew@stripe.com). |
| `keyword_slug_or` | array | No | Only return these keywords (technologies or buying intent topics). Case sensitive. Pass slugs. Check out all keywords at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) |
| `last_date_found_gte` | string | No | Only return keywords (technologies or buying intent topics) where the last time they were found was after or on this date. Format: "YYYY-MM-DD" |
| `last_date_found_lte` | string | No | Only return keywords (technologies or buying intent topics) where the last time they were found was before or on this date. Format: "YYYY-MM-DD" |
| `company_linkedin_url` | string | No | Return companies whose LinkedIn URL matches this URL exactly. |
| `first_date_found_gte` | string | No | Only return keywords (technologies or buying intent topics) where the first time they were found was after or on this date. Format: "YYYY-MM-DD" |
| `first_date_found_lte` | string | No | Only return keywords (technologies or buying intent topics) where the first time they were found was before or on this date. Format: "YYYY-MM-DD" |
| `include_total_results` | string | No | When enabled, calculates and returns `total_results` and `total_companies` fields in the response. WARNING: This significantly slows down responses as it requires reading the entire dataset. Recommended usage: enable only for the initial request to get totals, then disable for subsequent pagination requests. |
| `min_relative_occurrence` | string | No | Minimum value of relative_occurrence_within_category for each keyword (technology or buying intent topic). Higher values increase the probability that the company actually uses the technology or cares about the topic, because a higher share of the mentions within that category are of this keyword. |
| `keyword_category_slug_or` | array | No | Only return keywords from any of these categories. Case sensitive. Pass slugs. Check out all keyword categories at [GET /v1/catalog/keywords/categories](https://theirstack.com/en/docs/api-reference/catalog/list_keyword_categories_v1) |
| `keyword_parent_category_slug_or` | array | No | Only return keywords from any of these parent categories. Case sensitive. Pass slugs. Check out all keyword categories at [GET /v1/catalog/keywords/categories](https://theirstack.com/en/docs/api-reference/catalog/list_keyword_categories_v1) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | array | Yes |  |
| `metadata` | string | Yes |  |

### Get company list

**Slug:** `THEIRSTACK_MCP_GET_COMPANY_LIST`

Get one of the team's company lists by ID: its name, owner, type, creation date and number of companies. The companies themselves are not included.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `list_id` | integer | Yes |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `name` | string | Yes | Name of the company list |
| `type` | string | No | Type of the list: MANUAL_CREATION, WEBHOOK_TRIGGERED, REVEALED_COMPANIES |
| `user_id` | string | No | User ID of the list owner |
| `deletable` | string | No | Whether the list can be deleted |
| `created_at` | string | Yes |  |
| `webhook_id` | string | No | Webhook ID of the list |
| `companies_count` | integer | No | Number of companies in the list |
| `customer_crm_connection_id` | string | No | CRM connection that keeps this list in sync (CUSTOMER_CRM_SYNC lists) |

### Get company technographics

**Slug:** `THEIRSTACK_MCP_GET_COMPANY_TECHNOGRAPHICS`

List the technologies a company uses. For each technology, it returns the confidence level (`low`, `medium`, `high`), the number of jobs that mention the technology, and the first and last dates it was mentioned.

You must specify at least one of `company_domain`, `company_name` or `company_linkedin_url`.

It consumes **3 API credits** per company lookup, regardless of the number of technologies returned. It doesn't consume credits if there is no response.

Job, company, technographics and buying intent searches share one rate limit per user (10 per minute on the free plan).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | string | No | Page number. Required when using [page-based pagination](https://theirstack.com/en/docs/api-reference/pagination). |
| `limit` | string | No | Number of results per page |
| `offset` | string | No | Number of results to skip. Required for [offset-based pagination](https://theirstack.com/en/docs/api-reference/pagination). |
| `max_jobs` | string | No | Maximum number of jobs in which each company mentions the keyword (technology or buying intent topic) |
| `max_rank` | string | No | The rank measures how common a keyword (technology or buying intent topic) is within its category for a company. The keyword most mentioned among similar ones by a company has a rank of 1, the second 2, etc. Useful to keep only the primary technology or topic of each category. |
| `min_jobs` | string | No | Minimum number of jobs in which each company mentions the keyword (technology or buying intent topic) |
| `company_id` | string | No | Only return companies that match this TheirStack Company ID exactly. This ID is temporary and internal and will change in the future and become stable. Until then, it is only meant to be used internally by our UI (app.theirstack.com). For deduplication logic, use company_domain or company_linkedin_url instead. |
| `company_name` | string | No | Only return companies that match this name exactly, case-sensitively. |
| `confidence_or` | array | No | Only return keywords (technologies or buying intent topics) detected with any of these confidence levels. Available values: "high", "medium", "low" |
| `company_domain` | string | No | Only return companies that match this domain exactly. It accepts full urls (https://www.google.com/) and emails (andrew@stripe.com). |
| `keyword_slug_or` | array | No | Only return these keywords (technologies or buying intent topics). Case sensitive. Pass slugs. Check out all keywords at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) |
| `last_date_found_gte` | string | No | Only return keywords (technologies or buying intent topics) where the last time they were found was after or on this date. Format: "YYYY-MM-DD" |
| `last_date_found_lte` | string | No | Only return keywords (technologies or buying intent topics) where the last time they were found was before or on this date. Format: "YYYY-MM-DD" |
| `company_linkedin_url` | string | No | Return companies whose LinkedIn URL matches this URL exactly. |
| `first_date_found_gte` | string | No | Only return keywords (technologies or buying intent topics) where the first time they were found was after or on this date. Format: "YYYY-MM-DD" |
| `first_date_found_lte` | string | No | Only return keywords (technologies or buying intent topics) where the first time they were found was before or on this date. Format: "YYYY-MM-DD" |
| `include_total_results` | string | No | When enabled, calculates and returns `total_results` and `total_companies` fields in the response. WARNING: This significantly slows down responses as it requires reading the entire dataset. Recommended usage: enable only for the initial request to get totals, then disable for subsequent pagination requests. |
| `min_relative_occurrence` | string | No | Minimum value of relative_occurrence_within_category for each keyword (technology or buying intent topic). Higher values increase the probability that the company actually uses the technology or cares about the topic, because a higher share of the mentions within that category are of this keyword. |
| `keyword_category_slug_or` | array | No | Only return keywords from any of these categories. Case sensitive. Pass slugs. Check out all keyword categories at [GET /v1/catalog/keywords/categories](https://theirstack.com/en/docs/api-reference/catalog/list_keyword_categories_v1) |
| `keyword_parent_category_slug_or` | array | No | Only return keywords from any of these parent categories. Case sensitive. Pass slugs. Check out all keyword categories at [GET /v1/catalog/keywords/categories](https://theirstack.com/en/docs/api-reference/catalog/list_keyword_categories_v1) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | array | Yes |  |
| `metadata` | string | Yes |  |

### Get credit balance

**Slug:** `THEIRSTACK_MCP_GET_CREDIT_BALANCE`

Retrieve your team's current credit balance including remaining credits available for API calls, searches, and data exports across all endpoints.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `ui_credits` | integer | Yes | Number of credits available to the team |
| `api_credits` | integer | Yes | Number of API credits available to the team |
| `used_ui_credits` | integer | Yes | Number of credits used in the current billing cycle |
| `used_api_credits` | integer | Yes | Number of API credits used in the current billing cycle |
| `earliest_expiration` | string | No | Earliest expiration date among invoices with remaining credits |

### Get crm connection

**Slug:** `THEIRSTACK_MCP_GET_CRM_CONNECTION`

The CRM connected to the workspace (`provider`): whether its data is up to date, the running and last syncs, how many companies have each CRM status, and the status rules in the order they are checked. `connection` is null when no CRM is connected.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `can_manage` | boolean | Yes | The caller can connect, sync and disconnect |
| `connection` | string | Yes |  |
| `configured_providers` | array | Yes | The CRMs this server has the credentials to connect |

### Get crm send

**Slug:** `THEIRSTACK_MCP_GET_CRM_SEND`

One send of companies to the CRM: whether it is still running and what the CRM did with each company, with the link to its record or the reason it was skipped or rejected. Take `run_id` from the `id` that `send_companies_to_crm` or `list_crm_sends` returns.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `run_id` | integer | Yes |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `items` | array | Yes |  |
| `label` | string | Yes |  |
| `total` | integer | Yes |  |
| `failed` | integer | Yes |  |
| `status` | string ("queued" | "running" | "finished" | "failed") | Yes |  |
| `created` | integer | Yes |  |
| `skipped` | integer | Yes |  |
| `updated` | integer | Yes |  |
| `created_at` | string | Yes |  |
| `error_code` | string | Yes |  |
| `started_at` | string | Yes |  |
| `finished_at` | string | Yes |  |
| `requested_by_email` | string | Yes |  |

### Get crm send settings

**Slug:** `THEIRSTACK_MCP_GET_CRM_SEND_SETTINGS`

What a send to the CRM writes: whether it creates companies, updates them or both, the CRM property each TheirStack field goes to and what happens when the CRM already has a value, and the owner and fixed values of new companies. `configured` is false while these are the defaults. Find the CRM property a field should go to with `list_crm_properties` and a `search` term; a `read_only` one can't be written.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `fields` | array | Yes |  |
| `version` | string | Yes |  |
| `can_send` | boolean | Yes | The CRM lets TheirStack create and update companies |
| `settings` | string | Yes |  |
| `configured` | boolean | Yes | An owner or the first send saved them; until then these are the defaults |

### Get daily credit usage

**Slug:** `THEIRSTACK_MCP_GET_DAILY_CREDIT_USAGE`

Retrieve daily API and UI credit consumption for your team, by charge date. Set group_by=search_pattern to group each day's credits by search patterns with the same stable filters. Charges without a search pattern appear as Other usage. Filter by types, exact endpoint path, origin, API key or search_pattern_key. Each group includes observed endpoints and origins. Choose exactly one group_by dimension: search_pattern, endpoint or origin. Omit it for daily totals. endpoints and origins are independent multiselect filters (OR within each, AND between them). Unfiltered grouped totals include all credits.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `types` | string | No | Filter by search type. |
| `origin` | string ("api" | "app" | "web" | "mcp" | "admin_mcp") | No |  |
| `origins` | string | No | Match any recorded origin; webhook requires a linked webhook event and unassigned selects missing attribution. Intersects the singular origin filter. |
| `endpoint` | string | No | Exact request URL path, e.g. /v1/jobs/search; host and query string are ignored. |
| `group_by` | string ("search_pattern" | "endpoint" | "origin") | No |  |
| `timezone` | string | No | IANA timezone, such as Europe/Madrid. |
| `endpoints` | string | No | Match any exact request URL path; unassigned selects charges without a recorded endpoint. Intersects the singular endpoint filter. |
| `api_key_id` | string | No |  |
| `end_datetime` | string | No | End datetime in ISO format (e.g., 2023-01-01T23:59:59) |
| `status_codes` | string | No | Match any HTTP response status code. |
| `is_origin_app` | string | No |  |
| `start_datetime` | string | No | Start datetime in ISO format (e.g., 2023-01-01T00:00:00) |
| `search_pattern_key` | string | No | Only charges associated with this canonical search pattern. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### Get datasets

**Slug:** `THEIRSTACK_MCP_GET_DATASETS`

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.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### Get email preferences

**Slug:** `THEIRSTACK_MCP_GET_EMAIL_PREFERENCES`

Get which optional emails the current user receives, grouped by category (usage, alerts, onboarding): `form_data` holds each preference as `true` or `false`, and `schema` describes each one. Emails with no preference here, such as invitations, failed payments and support ticket updates, are always sent.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `schema` | object | Yes |  |
| `form_data` | object | Yes |  |

### Get member api keys usage

**Slug:** `THEIRSTACK_MCP_GET_MEMBER_API_KEYS_USAGE`

The active keys this member created for the current team, with the calls each made over the usage window. An empty list means removing them breaks no integration. Open to any member of the workspace, like the key list itself: it returns metadata the whole team can already see, and a member leaving on their own needs to read it too.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `user_id` | integer | Yes |  |
| `window_days` | integer | No |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `keys` | array | Yes |  |
| `user_id` | integer | Yes |  |
| `window_days` | integer | Yes |  |

### Get page

**Slug:** `THEIRSTACK_MCP_GET_PAGE`

Read one page of TheirStack's public website, in full, as markdown.

Pass a URL returned by search_docs. A section anchor is ignored: the whole
page comes back. Reads theirstack.com docs, pricing, product pages, product
updates, blog posts, comparisons, use cases and signals. Other sites are
refused.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | theirstack.com page URL, e.g. https://theirstack.com/en/docs/api-reference/features/count-results |

### Get requests

**Slug:** `THEIRSTACK_MCP_GET_REQUESTS`

List your team's individual API and app requests in a time range. Each request reports how many credits it consumed (api_credits, ui_credits), its response time (duration, in seconds), HTTP status code, endpoint type and the number of records returned. Use it to inspect per-request consumption and latency. Set group_by=search_pattern to return named summaries in groups, with an empty data list. Search patterns group requests with the same stable filters and includes credits, records, company domain sends and deduplication coverage. The date range selects when requests ran. Filter by types, exact endpoint path, origin, API key or search_pattern_key. Use credit_start_datetime/credit_end_datetime to find requests charged in that window even if they ran earlier; no request-date defaults apply in charge-window mode, and metadata.total_results reports matching requests. Unlinked charges have no request to return. Otherwise defaults to the last 5 days.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | The page number of the results |
| `limit` | integer | No | Return at most this many results |
| `types` | string | No | Filter by search type. |
| `origin` | string ("api" | "app" | "web" | "mcp" | "admin_mcp") | No | Filter by request origin (api, app, web, mcp) |
| `origins` | string | No | Match any recorded origin; webhook requires a linked webhook event and unassigned selects missing attribution. Intersects the singular origin filter. |
| `endpoint` | string | No | Exact request URL path, e.g. /v1/jobs/search; host and query string are ignored. |
| `group_by` | string ("search_pattern") | No |  |
| `timezone` | string | No | IANA timezone, such as Europe/Madrid. |
| `endpoints` | string | No | Match any exact request URL path; unassigned selects charges without a recorded endpoint. Intersects the singular endpoint filter. |
| `api_key_id` | string | No | Filter by API key id |
| `credit_types` | string | No | Only requests with positive charges of these types in the charge window: api or ui (Company credits). Returned credit totals use the same window and selected types. |
| `end_datetime` | string | No | End datetime in ISO format (e.g., 2023-01-01T23:59:59). Defaults to now. |
| `status_codes` | string | No | Match any HTTP response status code. |
| `is_origin_app` | string | No | Filter by origin app or api |
| `request_id_or` | string | No | Return only these request ids. When set, the date range is ignored, so a single request can be addressed without knowing when it ran. |
| `start_datetime` | string | No | Start datetime in ISO format (e.g., 2023-01-01T00:00:00). Defaults to 5 days ago. |
| `search_pattern_key` | string | No | Only requests from this search pattern key. |
| `credit_end_datetime` | string | No | End of the charge-date window (inclusive). |
| `max_credits_consumed` | string | No | Only requests whose total (api + ui) credits consumed are at most this. |
| `min_credits_consumed` | string | No | Only requests whose total (api + ui) credits consumed are at least this. |
| `credit_start_datetime` | string | No | Start of the charge-date window (inclusive), independent of when requests ran. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | array | Yes |  |
| `groups` | array | No |  |
| `metadata` | string | Yes |  |

### Get requests count

**Slug:** `THEIRSTACK_MCP_GET_REQUESTS_COUNT`

Retrieve the daily count of API requests made by your team within a specified date range. Filter by types, exact endpoint path, origin, API key or search_pattern_key. credit_start_datetime/credit_end_datetime selects requests by charge date and suppresses request-date defaults; returned buckets still use the actual request date. credit_types selects positive API or Company credit charges. min_credits_consumed/max_credits_consumed bound the total (api + ui) credits a request consumed, matching the filter on the request list.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `types` | string | No | Filter by search type. |
| `origin` | string ("api" | "app" | "web" | "mcp" | "admin_mcp") | No | Filter by request origin (api, app, web, mcp) |
| `origins` | string | No | Match any recorded origin; webhook requires a linked webhook event and unassigned selects missing attribution. Intersects the singular origin filter. |
| `endpoint` | string | No | Exact request URL path, e.g. /v1/jobs/search; host and query string are ignored. |
| `timezone` | string | No | IANA timezone, such as Europe/Madrid. |
| `endpoints` | string | No | Match any exact request URL path; unassigned selects charges without a recorded endpoint. Intersects the singular endpoint filter. |
| `api_key_id` | string | No | Filter by API key id |
| `credit_types` | string | No | Only requests with positive charges of these types in the charge window: api or ui (Company credits). Returned credit totals use the same window and selected types. |
| `end_datetime` | string | No | End datetime in ISO format (e.g., 2023-01-01T23:59:59) |
| `status_codes` | string | No | Match any HTTP response status code. |
| `is_origin_app` | string | No | Filter by origin app or api |
| `start_datetime` | string | No | Start datetime in ISO format (e.g., 2023-01-01T00:00:00) |
| `search_pattern_key` | string | No |  |
| `credit_end_datetime` | string | No | End of the charge-date window (inclusive). |
| `max_credits_consumed` | string | No | Only requests whose total (api + ui) credits consumed are at most this. |
| `min_credits_consumed` | string | No | Only requests whose total (api + ui) credits consumed are at least this. |
| `credit_start_datetime` | string | No | Start of the charge-date window (inclusive), independent of when requests ran. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### Get request analytics

**Slug:** `THEIRSTACK_MCP_GET_REQUEST_ANALYTICS`

Daily request activity with one optional breakdown. Counts and actual ledger credits refer to requests that ran in the selected window, bucketed by request date. Split charges count a request once; credits include later charges for those requests. Use credit consumption for billing totals by charge date. Filters match the individual request log.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `types` | string | No |  |
| `origin` | string ("api" | "app" | "web" | "mcp" | "admin_mcp") | No |  |
| `origins` | string | No |  |
| `endpoint` | string | No |  |
| `group_by` | string ("search_pattern" | "endpoint" | "origin" | "status") | No |  |
| `timezone` | string | No | IANA timezone, such as Europe/Madrid. |
| `endpoints` | string | No |  |
| `api_key_id` | string | No |  |
| `end_datetime` | string | No |  |
| `status_codes` | string | No |  |
| `is_origin_app` | string | No |  |
| `start_datetime` | string | No |  |
| `search_pattern_key` | string | No |  |
| `max_credits_consumed` | string | No | Only requests whose total (api + ui) credits consumed are at most this. |
| `min_credits_consumed` | string | No | Only requests whose total (api + ui) credits consumed are at least this. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### Get request facets

**Slug:** `THEIRSTACK_MCP_GET_REQUEST_FACETS`

List the values seen in this team's requests over the selected window, to filter the request history by: endpoints, origins, status codes and API key IDs. Each list is narrowed by the filters on the other dimensions, not its own. Values only: for the search patterns, and how many requests and credits each value accounts for, use `get_request_facet_metrics`. API keys are identifiers only; no credentials are returned.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `types` | string | No |  |
| `origin` | string ("api" | "app" | "web" | "mcp" | "admin_mcp") | No |  |
| `origins` | string | No |  |
| `endpoint` | string | No |  |
| `endpoints` | string | No |  |
| `api_key_id` | string | No |  |
| `end_datetime` | string | No |  |
| `status_codes` | string | No |  |
| `is_origin_app` | string | No |  |
| `start_datetime` | string | No |  |
| `search_pattern_key` | string | No |  |
| `max_credits_consumed` | string | No | Only requests whose total (api + ui) credits consumed are at most this. |
| `min_credits_consumed` | string | No | Only requests whose total (api + ui) credits consumed are at least this. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `origins` | array | Yes |  |
| `endpoints` | array | Yes |  |
| `api_key_ids` | array | Yes |  |
| `status_codes` | array | Yes |  |

### Get request facet metrics

**Slug:** `THEIRSTACK_MCP_GET_REQUEST_FACET_METRICS`

How many requests and credits each filter value (endpoint, origin, status code, API key) accounts for in this team's requests over the selected window, plus the search patterns seen. Slower than `get_request_facets`, which returns the values alone.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `types` | string | No |  |
| `origin` | string ("api" | "app" | "web" | "mcp" | "admin_mcp") | No |  |
| `origins` | string | No |  |
| `endpoint` | string | No |  |
| `endpoints` | string | No |  |
| `api_key_id` | string | No |  |
| `end_datetime` | string | No |  |
| `status_codes` | string | No |  |
| `is_origin_app` | string | No |  |
| `start_datetime` | string | No |  |
| `search_pattern_key` | string | No |  |
| `max_credits_consumed` | string | No | Only requests whose total (api + ui) credits consumed are at most this. |
| `min_credits_consumed` | string | No | Only requests whose total (api + ui) credits consumed are at least this. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `metrics` | object | No |  |
| `search_patterns` | array | No |  |
| `search_pattern_keys` | array | No |  |

### Get sales signals

**Slug:** `THEIRSTACK_MCP_GET_SALES_SIGNALS`

The team's live sales signals: what each one detects, how many companies it found, whether it is active (`is_active`: its webhook keeps scanning for new companies) and whether its first scan is still running (`scan_running`; more companies may come until it is false). `include_archived` adds the deleted ones, each with its `archived_at`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `include_archived` | boolean | No | Also list the signals that were deleted (archived) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### Get sales signal accounts

**Slug:** `THEIRSTACK_MCP_GET_SALES_SIGNAL_ACCOUNTS`

The account feed: every company that meets at least one of the team's signals, active or not (archive a signal to hide it), with the evidence of each signal it meets. Page with `next_cursor`; `total` is only on the first page. `signal_id` keeps the companies one signal matched, with all their other signals still on the card. `products` reads only the signals that pitch any of them: their companies, tags and priority. `crm_statuses` and `exclude_crm_statuses` keep the accounts by their status in the connected CRM: the key of one of the workspace's statuses, `in_crm` for the CRM's other companies and `no_crm_match` for those we could not match to a CRM record (they may still be there, unmatched or not synced yet). `priorities` keeps the accounts of those priorities. `signal_roles` reads only the signals of those roles, as `products` does. `latest_evidence_within_days` keeps the accounts whose newest evidence is that recent, and `minimum_signals` those that meet at least that many signals. `company_ids` reads only those accounts (the `company.id` of a card, or of a company from `search_companies`), with the score, priority and signals they have in the whole feed: the way to read one account's signals.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `sort` | string ("newest" | "best_fit") | No | `newest`: latest evidence first. `best_fit`: highest score first (the weight of the strongest signal that counts, then how many count), newest first among equals. |
| `limit` | integer | No |  |
| `cursor` | string | No | `next_cursor` of the previous page |
| `products` | string | No | Only the signals that pitch any of these products, by their name in the brand book |
| `signal_id` | string | No | Only the companies this signal matched |
| `priorities` | string | No | Only the accounts with one of these priorities, as the other filters leave them: `high`, `medium` or `low` |
| `company_ids` | string | No | Only these companies, by the `company.id` of an account card or of a company from `search_companies`: read one account's signals with its id |
| `crm_statuses` | string | No | Only the accounts with one of these statuses in the connected CRM, for every signal (each signal's own setting to hide CRM accounts does not apply). Ignored without a connected CRM. |
| `signal_roles` | string | No | Only the signals with one of these roles: their companies, tags and priority |
| `minimum_signals` | string | No | Only the accounts that meet at least this many signals |
| `exclude_crm_statuses` | string | No | Leave out the accounts with any of these statuses in the connected CRM, as `crm_statuses` does with the rest |
| `latest_evidence_within_days` | string ("7" | "30" | "90") | No | Only the accounts whose newest evidence is from the last 7, 30 or 90 days; their score and tags still read all of it |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `crm` | string | No |  |
| `total` | string | Yes | Accounts in the whole feed; only on the first page |
| `accounts` | array | Yes |  |
| `next_cursor` | string | Yes |  |

### Get sales signal timeline

**Slug:** `THEIRSTACK_MCP_GET_SALES_SIGNAL_TIMELINE`

How many matches a signal found on each day of their evidence (a job ad's posting date), oldest first, without the companies the brand book excludes (the workspace's own, its competitors and its customers). Accounts the feed hides for their CRM status still count here. Days with none are absent.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `signal_id` | integer | Yes | ID of the sales signal |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### Get saved search

**Slug:** `THEIRSTACK_MCP_GET_SAVED_SEARCH`

Get one of the team's saved searches by ID: its name, type, filters, email alert settings and whether a webhook is active on it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `search_id` | integer | Yes | The ID of the saved search |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | ID of the saved search |
| `body` | string | Yes | Filters. CompanySearchFilters if type is 'companies', JobSearchFilters if type is 'jobs' |
| `name` | string | Yes | Name of the saved search |
| `path` | string | No | Path of the request |
| `type` | string | Yes | Type of the saved search. |
| `query` | string | No | Query of the request |
| `origin` | string | No | `manual` for the team's own searches, `signal` for the search that holds a sales signal's filters, which only the signal can change |
| `creator` | string | Yes | User who created the saved search |
| `team_id` | integer | Yes | Team of the saved search |
| `user_id` | integer | Yes | Owner of the saved search |
| `frequency` | string | No | Frequency of emails alerts sent. |
| `created_at` | string | Yes | Date and time when the saved search was created |
| `updated_at` | string | Yes | Date and time when the saved search was last updated |
| `is_archived` | boolean | No | Is the saved search archived |
| `is_alert_active` | boolean | No | Is the alert active |
| `emails_subscribed` | string | No | The creator's email, recorded when the saved search was created. Alerts are sent to the creator. |
| `querystring_params` | string | No | Dictionary containing the querystring parameters of the request. |
| `has_active_webhooks` | boolean | No | Has active webhooks |

### Get support ticket

**Slug:** `THEIRSTACK_MCP_GET_SUPPORT_TICKET`

Get one of your support tickets by ID: its title, description, category and current state. The messages exchanged about it are in the ticket's conversation.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `ticket_id` | integer | Yes |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `state` | string | Yes |  |
| `title` | string | Yes |  |
| `payload` | string | No |  |
| `user_id` | string | No |  |
| `category` | string | Yes |  |
| `priority` | integer | Yes |  |
| `created_at` | string | Yes |  |
| `updated_at` | string | Yes |  |
| `user_email` | string | No |  |
| `category_id` | string | Yes |  |
| `description` | string | No | The customer's description in GitHub-flavoured Markdown (headings, lists, tables, code blocks). Null for tickets that arrived by email, whose body stays in the email thread. |
| `extra_metadata` | string | No |  |
| `last_message_at` | string | No |  |
| `rejection_reason` | string | No |  |

### Get support ticket conversation

**Slug:** `THEIRSTACK_MCP_GET_SUPPORT_TICKET_CONVERSATION`

Every message exchanged about this ticket, plus its milestones.

Read live from the email thread, so it stays true whether the answer was
written in the app or by replying to the notification email. Messages carry
who wrote them (`customer` or `theirstack`) and a display name — never an
email address, on either side.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `ticket_id` | integer | Yes |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `events` | array | Yes |  |
| `messages` | array | Yes |  |
| `ticket_id` | integer | Yes |  |
| `last_message_at` | string | No |  |

### Get webhook

**Slug:** `THEIRSTACK_MCP_GET_WEBHOOK`

Retrieve the full details of a specific webhook by its ID including configuration, status, target URL, event type, linked saved search, and creation timestamp. Use this to inspect or debug a webhook setup.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `webhook_id` | integer | Yes | ID of the webhook |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `url` | string | Yes | URL of the webhook |
| `team_id` | integer | Yes |  |
| `user_id` | integer | Yes |  |
| `is_active` | boolean | Yes |  |
| `search_id` | integer | Yes | ID of the search that the webhook is listening to. |
| `created_at` | string | Yes |  |
| `event_type` | string | Yes | Deprecated: use active_event_types. Primary event type derived from webhook_type. |
| `has_secret` | boolean | Yes |  |
| `updated_at` | string | Yes |  |
| `description` | string | No | Description of the webhook |
| `is_archived` | boolean | Yes |  |
| `search_name` | string | Yes |  |
| `webhook_type` | string ("jobs" | "companies") | Yes |  |
| `active_event_types` | array | Yes |  |
| `max_events_per_day` | string | No | Most new records the webhook takes on per UTC day, or null for no cap. A job webhook counts jobs: each can send its job.new and, when it closes, its job.closed, so a job costs at most two credits. Records over it are dropped, never sent, charged or queued for the next day. Minimum 1: to send nothing, disable the webhook. |
| `scanning_frequency` | string | No | Scanning frequency for the webhook |
| `listening_start_time` | string | No | Date when the webhook started listening for events. If listening_start_time is None, the webhook will listen to all events matching the search query regardless of when they occurred. |
| `trigger_once_per_company` | boolean | No | Only for webhook type ='job.new'. If true, Company A with 5 jobs → 1 event triggered. If false, Company A with 5 jobs → 5 events triggered |

### List api keys

**Slug:** `THEIRSTACK_MCP_LIST_API_KEYS`

Every active key of the current team, with the calls it made over the usage window and whether the member who created it still belongs to the workspace. Key (token) strings are never returned.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `window_days` | integer | No |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### List brand book versions

**Slug:** `THEIRSTACK_MCP_LIST_BRAND_BOOK_VERSIONS`

The saved versions of the workspace brand book, newest first.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### List company lists

**Slug:** `THEIRSTACK_MCP_LIST_COMPANY_LISTS`

Retrieve all company lists for the current team including list name, company count, and creation date. Use it to find a list's ID before reading its companies, adding companies to it or renaming it.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### List credit usage sources

**Slug:** `THEIRSTACK_MCP_LIST_CREDIT_USAGE_SOURCES`

List the endpoints and origins that charged credits to the team in a date range (the last 30 days by default). Use it to pick values for the endpoint and origin filters of the daily credit consumption. `unassigned` stands for charges with no recorded endpoint or origin, and `webhook` appears only for charges linked to a webhook event.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `end_datetime` | string | No |  |
| `start_datetime` | string | No |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `origins` | array | No |  |
| `endpoints` | array | No |  |

### List crm properties

**Slug:** `THEIRSTACK_MCP_LIST_CRM_PROPERTIES`

The CRM's company properties a status rule can test: their internal name, label and type, how many matched companies have a value, and the values a choice property takes. A CRM can have hundreds of properties and some list thousands of values, so pass `search` with part of a name or label.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `search` | string | No | Keeps the properties whose internal name or label contains this text, ignoring case |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### List crm sends

**Slug:** `THEIRSTACK_MCP_LIST_CRM_SENDS`

The latest sends of companies to the CRM, newest first, with who sent each one and how many companies it created, updated, skipped or failed.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### List crm syncs

**Slug:** `THEIRSTACK_MCP_LIST_CRM_SYNCS`

The workspace's latest CRM syncs, newest first: each one's kind, status, how many companies it read and, if it failed, why.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### List industries

**Slug:** `THEIRSTACK_MCP_LIST_INDUSTRIES`

List the industries and their IDs, with how many jobs and companies we have in each, and search them by name. Use the IDs in the industry filters of a job or company search.

Free: it doesn't consume credits.

Our industries catalogue comes from [LinkedIn Industry Codes V2](https://learn.microsoft.com/en-us/linkedin/shared/references/reference-tables/industry-codes-v2)

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | Page number. |
| `limit` | integer | No | Number of results per page |
| `industry` | string | No | Name of an industry, case-insensitive. Will return industries that contain the given string either in their name, hierarchy or description |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | array | Yes |  |
| `metadata` | string | Yes |  |

### List keyword categories

**Slug:** `THEIRSTACK_MCP_LIST_KEYWORD_CATEGORIES`

Returns a list of main keyword categories (technologies and buying intents) with the number of keywords and companies in each. Optionally filters to return a specific category if category_slug is provided.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `category_slug` | string | No | Optional category slug to filter and return only a specific category |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | array | Yes |  |
| `metadata` | string | Yes |  |

### List keyword subcategories

**Slug:** `THEIRSTACK_MCP_LIST_KEYWORD_SUBCATEGORIES`

Returns a list of keyword subcategories with their keywords. Behavior: returns all subcategories if no parameters are provided; returns all subcategories for a specific parent category if only category_slug is provided; returns a specific subcategory if both category_slug and subcategory_slug are provided.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `category_slug` | string | No | Parent category slug to filter subcategories. If provided with subcategory_slug, returns only that specific subcategory. If provided alone, returns all subcategories for that parent category. |
| `subcategory_slug` | string | No | Subcategory slug to filter by a specific subcategory. Must be used together with category_slug. |
| `num_technologies_per_category` | integer | No | Number of keywords per category to include in the response |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | array | Yes |  |
| `metadata` | string | Yes |  |

### List saved searches

**Slug:** `THEIRSTACK_MCP_LIST_SAVED_SEARCHES`

Retrieve all active saved searches of the current team, including search filters, type, and creation date. Archived searches are left out, and so are the ones that hold a sales signal's filters, which you can still read by ID. Filter by user IDs or search type and sort by name, created, or updated date.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `types` | string | No | Filter by type of search |
| `order_by` | string ("name" | "created_at" | "updated_at") | No | Order by field |
| `user_ids` | array | No | Get saved searches from users with these IDs. The IDs must be from people in the current users' team. |
| `order_direction` | string ("asc" | "desc") | No | Order direction |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### List support tickets

**Slug:** `THEIRSTACK_MCP_LIST_SUPPORT_TICKETS`

List your support tickets with their category and state, filterable by category, state or text in the title or description. Check it before filing an issue that may already be reported.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `sort` | string ("created_at_asc" | "created_at_desc" | "updated_at_asc" | "updated_at_desc" | "waiting_since_asc" | "waiting_since_desc") | No | Sort key for tickets list (e.g. created_at:desc) |
| `limit` | integer | No | Maximum number of tickets to return |
| `offset` | integer | No | Number of tickets to skip before starting to return results |
| `search` | string | No | Search term to filter tickets by title or description |
| `state_key` | string | No | Filter tickets by state key |
| `category_key` | string | No | Filter tickets by category key |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | array | Yes |  |
| `total` | integer | Yes |  |

### List webhooks

**Slug:** `THEIRSTACK_MCP_LIST_WEBHOOKS`

Retrieve all webhooks configured for your team including their status, target URL, event type, and linked saved search. Archived webhooks are excluded unless you pass include_archived=true. Use this to monitor your webhook integrations.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `include_archived` | boolean | No | Include archived webhooks in the response. They no longer deliver events, but their event history is retained and their name is needed to label past events. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### List webhook events

**Slug:** `THEIRSTACK_MCP_LIST_WEBHOOK_EVENTS`

Retrieve a paginated list of all events triggered for a specific webhook including delivery status, payload, and timestamps. Filter by event status to find failed deliveries that may need to be retried.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | Number of results per page |
| `offset` | integer | No | Number of results to skip |
| `status` | string ("IN_PROGRESS" | "SUCCESS" | "FAILED" | "NOT_TRIGGERED") | No | Status of the webhook events to filter by |
| `webhook_id` | integer | Yes | ID of the webhook |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### List webhook event types

**Slug:** `THEIRSTACK_MCP_LIST_WEBHOOK_EVENT_TYPES`

Returns supported webhook event types with their metadata. Pass `search_type=jobs` or `search_type=companies` to get only the events relevant to that search type.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `search_type` | string ("jobs" | "companies") | No | Filter event types by search type: 'jobs' or 'companies' |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `result` | array | Yes |  |

### Preview crm send

**Slug:** `THEIRSTACK_MCP_PREVIEW_CRM_SEND`

How many of these companies a send to the CRM would create, update or skip, and why, without writing anything. Pass the `id` of each company as company search returns it. Call it before `send_companies_to_crm`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `company_ids` | array | Yes | TheirStack company ids |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `total` | integer | Yes |  |
| `skipped` | object | Yes | Companies that will not be sent, by reason: not_revealed, no_domain, already_in_crm, not_in_crm, not_found |
| `can_send` | boolean | Yes |  |
| `to_create` | integer | Yes |  |
| `to_update` | integer | Yes |  |
| `configured` | boolean | Yes |  |
| `new_fields` | array | No | What a send would bring that company, by field label. Job count and profile link changes alone do not count |
| `record_url` | string | No | The company's record in the CRM. Only when the preview is of one company the CRM holds and the workspace revealed |

### Preview crm send settings

**Slug:** `THEIRSTACK_MCP_PREVIEW_CRM_SEND_SETTINGS`

What these send settings would write for a few of the workspace's companies, property by property, without saving them or sending anything to the CRM. Call it before `save_crm_send_settings`. Workspace owners only.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mode` | string ("create_and_update" | "create_only" | "update_only") | No | Create companies the CRM does not have and fill in the ones it has, only create, or only update |
| `owner` | string ("sender" | "none") | No | Who owns the companies TheirStack creates: whoever sends them (matched by email to a CRM user) or nobody |
| `mappings` | array | No | Where each TheirStack field goes; a field left out is not sent |
| `company_ids` | string | No | Companies to review; a few the workspace revealed when empty |
| `new_company_values` | array | No | Fixed values for the companies TheirStack creates |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `companies` | array | Yes |  |
| `untranslated_industries` | array | Yes | Our industries the mapped dropdown has no option for |

### Preview crm status rules

**Slug:** `THEIRSTACK_MCP_PREVIEW_CRM_STATUS_RULES`

How many companies each status would get with these rules, and which companies would change status, without saving anything. Send every status in the order they are checked: the list replaces the current one.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `statuses` | array | Yes | The statuses in the order they are checked: the first one whose conditions hold gives a company its status, and a company that meets none is In CRM |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `changed` | integer | Yes |  |
| `changes` | array | Yes |  |
| `by_badge` | object | Yes |  |
| `statuses` | array | Yes | The statuses previewed, with the keys new ones get when saved |

### Remove companies from list

**Slug:** `THEIRSTACK_MCP_REMOVE_COMPANIES_FROM_LIST`

Remove companies from one of the team's company lists by their company IDs. Only their place in this list goes: the companies, and any other list that holds them, are not affected.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `list_id` | integer | Yes |  |
| `company_ids` | array | No | Company IDs to remove, the `id` of each company in a company search result |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `name` | string | Yes | Name of the company list |
| `type` | string | No | Type of the list: MANUAL_CREATION, WEBHOOK_TRIGGERED, REVEALED_COMPANIES |
| `user_id` | string | No | User ID of the list owner |
| `deletable` | string | No | Whether the list can be deleted |
| `created_at` | string | Yes |  |
| `webhook_id` | string | No | Webhook ID of the list |
| `companies_count` | integer | No | Number of companies in the list |
| `customer_crm_connection_id` | string | No | CRM connection that keeps this list in sync (CUSTOMER_CRM_SYNC lists) |

### Rename company list

**Slug:** `THEIRSTACK_MCP_RENAME_COMPANY_LIST`

Give one of the team's company lists a new name. The 'Companies seen' list can't be renamed.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `list_id` | integer | Yes |  |
| `new_name` | string | Yes | New name of the company list |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `name` | string | Yes | Name of the company list |
| `type` | string | No | Type of the list: MANUAL_CREATION, WEBHOOK_TRIGGERED, REVEALED_COMPANIES |
| `user_id` | string | No | User ID of the list owner |
| `deletable` | string | No | Whether the list can be deleted |
| `created_at` | string | Yes |  |
| `webhook_id` | string | No | Webhook ID of the list |
| `companies_count` | integer | No | Number of companies in the list |
| `customer_crm_connection_id` | string | No | CRM connection that keeps this list in sync (CUSTOMER_CRM_SYNC lists) |

### Report data bug

**Slug:** `THEIRSTACK_MCP_REPORT_DATA_BUG`

Report wrong or missing data about a company, a job posting or a keyword (a technology or a buying intent topic), naming the record it is about. Set `subject` and `problem` with the subject's id (`company_id`, `job_id` or `keyword_slug`): a keyword detected in job posts about something else (`wrong_matches`) or missing from posts that name it (`missed_matches`) opens a ticket that stays open until its matching is fixed; anything else opens a support ticket the team reviews. For a technology we don't track, use `request_technology`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `field` | string | No | With problem `wrong_field`: the wrong field as the API names it |
| `title` | string | Yes | Short, human readable summary of the data issue |
| `job_id` | string | No | The job's `id` in a job search result |
| `problem` | string ("wrong_field" | "wrong_company" | "duplicate" | "fake" | "missing" | "wrong_matches" | "missed_matches" | "wrong_catalog_info" | "other") | No | What is wrong. company: `wrong_field`, `duplicate`, `missing`. job: `wrong_field`, `wrong_company` (posted by another company than shown), `duplicate`, `fake`, `missing`. keyword: `wrong_matches` (detected in posts about something else), `missed_matches` (not detected in posts that name it), `wrong_catalog_info` (not a real technology or topic, or the wrong category or description). Any subject: `other`, when none of these fits; say what is wrong in `description`. |
| `subject` | string ("company" | "job" | "keyword") | No | What the report is about: a `company`, a `job` posting, or a `keyword` (a technology or a buying intent topic). Set it with `problem`, and the subject's own id. |
| `file_url` | string | No | A screenshot or file that shows the problem: its URL, or the `key` that `POST /v0/files/upload` returned. A keyword's `wrong_matches` or `missed_matches` take only a URL |
| `company_id` | string | No | The company's `id` in a company search result |
| `description` | string | Yes | What is wrong and what the correct value should be, in GitHub-flavoured Markdown (headings, lists, tables, code blocks), which is rendered as formatting. |
| `affected_url` | string | No | A TheirStack or source URL where the wrong data can be seen; for a missing job, the posting's URL |
| `company_name` | string | No | Name of the affected company, if the bug is about a company |
| `keyword_slug` | string | No | Catalog slug of the technology or buying intent topic |
| `company_domain` | string | No | Domain of the affected company |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `state` | string | Yes |  |
| `title` | string | Yes |  |
| `payload` | string | No |  |
| `user_id` | string | No |  |
| `category` | string | Yes |  |
| `priority` | integer | Yes |  |
| `created_at` | string | Yes |  |
| `updated_at` | string | Yes |  |
| `user_email` | string | No |  |
| `category_id` | string | Yes |  |
| `description` | string | No | The customer's description in GitHub-flavoured Markdown (headings, lists, tables, code blocks). Null for tickets that arrived by email, whose body stays in the email thread. |
| `extra_metadata` | string | No |  |
| `last_message_at` | string | No |  |
| `rejection_reason` | string | No |  |

### Request technology

**Slug:** `THEIRSTACK_MCP_REQUEST_TECHNOLOGY`

Ask TheirStack to add a technology that isn't in the keyword catalog yet, with its name and website, so it can be used in technology filters. Search the catalog first: this opens a support ticket the team follows up on.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | Official website of the technology (used to resolve it) |
| `name` | string | Yes | Official or canonical name of the technology |
| `comment` | string | No | Optional extra context about why the technology is needed, in GitHub-flavoured Markdown (headings, lists, tables, code blocks), which is rendered as formatting. |
| `synonyms` | string | No | Alternative names the technology is known by |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `state` | string | Yes |  |
| `title` | string | Yes |  |
| `payload` | string | No |  |
| `user_id` | string | No |  |
| `category` | string | Yes |  |
| `priority` | integer | Yes |  |
| `created_at` | string | Yes |  |
| `updated_at` | string | Yes |  |
| `user_email` | string | No |  |
| `category_id` | string | Yes |  |
| `description` | string | No | The customer's description in GitHub-flavoured Markdown (headings, lists, tables, code blocks). Null for tickets that arrived by email, whose body stays in the email thread. |
| `extra_metadata` | string | No |  |
| `last_message_at` | string | No |  |
| `rejection_reason` | string | No |  |

### Retry webhook events

**Slug:** `THEIRSTACK_MCP_RETRY_WEBHOOK_EVENTS`

Send failed webhook events again, by their event IDs, to recover from a temporary failure such as a timeout or a server error at the receiving URL. Find the IDs by listing a webhook's events with status FAILED.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `webhook_event_ids` | array | Yes | IDs of the webhook events to retry. |

### Save brand book

**Slug:** `THEIRSTACK_MCP_SAVE_BRAND_BOOK`

Replace the workspace brand book with a new version; the previous one
stays in the history. Send the whole brand book (read it first and edit
it): fields left out are saved empty. Each ideal customer profile's
`filters` must be accepted by company search. Saving an inherited brand
book makes it the workspace's own.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `source` | string ("user" | "agent") | No | `agent` when an AI agent wrote it (e.g. after researching the company's website), `user` when a person edited it. |
| `brand_book` | string | Yes | The whole brand book. It replaces the current one, which is kept in the history. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | No |  |
| `source` | string | No |  |
| `team_id` | integer | Yes |  |
| `inherited` | boolean | No | True while the workspace has not saved its own brand book and reads the one prepared for its company; saving makes it the workspace's own. |
| `brand_book` | string | Yes |  |
| `created_at` | string | No |  |
| `schema_version` | integer | Yes | The schema version `brand_book` is returned in (always the current one). |
| `filter_problems` | array | No | Ideal customer profiles whose filters company search would reject today; fix them before running them as a search. |
| `updated_by_user_id` | string | No |  |
| `stored_schema_version` | string | No | The schema version this version was written in; older ones are upgraded on read. |

### Save crm send settings

**Slug:** `THEIRSTACK_MCP_SAVE_CRM_SEND_SETTINGS`

Saves what sending companies to the CRM writes, and replaces the saved settings: whether a send creates companies, updates them or both, the CRM property each field goes to, and the owner and fixed values of new companies. Read the current ones with `get_crm_send_settings`, change only what was asked and send them whole. Check the result with `preview_crm_send_settings` first. Nothing is written to the CRM until someone sends companies. Workspace owners only.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mode` | string ("create_and_update" | "create_only" | "update_only") | No | Create companies the CRM does not have and fill in the ones it has, only create, or only update |
| `owner` | string ("sender" | "none") | No | Who owns the companies TheirStack creates: whoever sends them (matched by email to a CRM user) or nobody |
| `mappings` | array | No | Where each TheirStack field goes; a field left out is not sent |
| `new_company_values` | array | No | Fixed values for the companies TheirStack creates |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `version` | integer | Yes |  |
| `settings` | string | Yes |  |
| `created_at` | string | Yes |  |

### Save crm status rules

**Slug:** `THEIRSTACK_MCP_SAVE_CRM_STATUS_RULES`

Saves the rules as a new version and starts a full sync that gives every company its status under them. Send every status in the order they are checked: the list replaces the current one. Keep the `key` of each existing status, so its companies and the links that filter by it follow it. Workspace owners only.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `statuses` | array | Yes | The statuses in the order they are checked: the first one whose conditions hold gives a company its status, and a company that meets none is In CRM |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `version` | integer | Yes |  |
| `statuses` | array | Yes | The workspace's statuses in the order they are checked |
| `proposed_by` | string | Yes |  |
| `confirmed_at` | string | Yes |  |

### Search companies

**Slug:** `THEIRSTACK_MCP_SEARCH_COMPANIES`

Search and filter companies by firmographics (industry, country, employee count, revenue), funding, the technologies they use (technographics) and hiring signals (the roles and technologies they are hiring for). Use it to find the companies that match a profile, such as the companies in a country that use a technology or are hiring for a role. Returns the matching companies along with the jobs and technology objects that matched the filters you passed.

It consumes **3 API credits** for each company returned in the response.

Useful resources: [Preview data mode](https://theirstack.com/en/docs/api-reference/features/preview-data-mode), [Counting results](https://theirstack.com/en/docs/api-reference/features/count-results)

The response includes both company data and any matching jobs or technologies based on your filters.

Job, company, technographics and buying intent searches share one rate limit per user (10 per minute on the free plan).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | Page number. Required when using [page-based pagination](https://theirstack.com/en/docs/api-reference/pagination). |
| `limit` | integer | No | Number of results per page. In search, up to 25 on the free plan and 500 on paid plans. |
| `cursor` | string | No | Cursor for pagination |
| `offset` | integer | No | Number of results to skip. Required for [offset-based pagination](https://theirstack.com/en/docs/api-reference/pagination). |
| `job_filters` | string | No | Filter companies by the jobs they have posted. Takes the job filters of the job search endpoint and requires a date filter (`posted_at_max_age_days`, `posted_at_min_age_days`, `posted_at_gte` or `posted_at_lte`). Returns companies with at least one matching job, or at least `min_num_jobs_found` if set. |
| `company_type` | string ("recruiting_agency" | "direct_employer" | "all") | No | Filter by company type. |
| `tech_filters` | string | No | Filter by technologies and buying intent topics detected for the company |
| `company_id_or` | array | No | Only return companies that match these IDs exactly. This filter acts as an OR filter, so if you pass more than one company ID, it will return companies that match any of the IDs. |
| `company_id_not` | array | No | Exclude companies that match these IDs. This filter acts as a NOT filter, so if you pass more than one company ID, it will exclude companies that match any of the IDs. |
| `industry_id_or` | array | No | Industry codes. You can use any of [LinkedIn's Industry Codes V2](https://learn.microsoft.com/en-us/linkedin/shared/references/reference-tables/industry-codes-v2) or [GET /v0/catalog/industries](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_industries_v0) |
| `company_tags_or` | array | No | Return companies that match any of these keywords |
| `industry_id_not` | array | No | Industry ids to exclude. You can use any of [LinkedIn's Industry Codes V2](https://learn.microsoft.com/en-us/linkedin/shared/references/reference-tables/industry-codes-v2) or [GET /v0/catalog/industries](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_industries_v0) |
| `max_funding_usd` | string | No | Maximum company funding, in USD |
| `max_revenue_usd` | string | No | Maximum company revenue, in USD |
| `min_funding_usd` | string | No | Minimum company funding, in USD |
| `min_revenue_usd` | string | No | Minimum company revenue, in USD |
| `company_name_not` | array | No | Only return companies that don't match these names exactly, case-sensitively. |
| `funding_stage_or` | array | No | Funding stages of companies returned. Possible values: ['angel', 'convertible_note', 'debt_financing', 'equity_crowdfunding', 'other', 'private_equity', 'seed', 'series_a', 'series_b', 'series_c', 'series_d', 'series_e', 'series_f', 'series_g', 'series_h', 'venture_round_not_specified', 'series_i', 'series_j', 'undisclosed', 'series_unknown', 'pre_seed', 'post_ipo_secondary', 'post_ipo_equity', 'post_ipo_debt', 'non_equity_assistance', 'late_vc', 'initial_coin_offering', 'growth_equity_vc', 'grant', 'early_vc', 'corporate_round', 'secondary_market', 'product_crowdfunding'] |
| `blur_company_data` | boolean | No | Enable preview mode to return blurred data without consuming credits in the TheirStack app. Deprecated: preview mode is being retired and will stop working over the API. It still works on paid workspaces created before August 11, 2026 and is not available on any other workspace; new access is only granted to sales intelligence products that preview data to their end users before unlocking it, by opening a support ticket at https://app.theirstack.com/support/new. When enabled, sensitive company fields (name, domain, URLs, descriptions) and job-specific fields (description, URLs) are blurred. Not available when filtering by company identifiers (company_name, company_domain, company_linkedin_url, company_id). Learn more in the [preview mode documentation](https://theirstack.com/en/docs/api-reference/features/preview-data-mode). |
| `company_domain_or` | array | No | Only return companies that match these domains exactly. It accepts full urls (https://www.google.com/) and emails (andrew@stripe.com). This filter acts as an OR filter, so if you pass more than one company domain, it will return companies that match any of the domains. |
| `only_yc_companies` | string | No | Only return YC companies |
| `company_domain_not` | array | No | Only return companies that don't match these domains exactly. It accepts full urls (https://www.google.com/) and emails (andrew@stripe.com). |
| `company_list_id_or` | array | No | Return companies that belong to any of the company lists passed here |
| `max_employee_count` | string | No | Maximum number of employees in a company |
| `min_employee_count` | string | No | Minimum number of employees in a company |
| `min_num_jobs_found` | string | No | Minimum number of jobs matching `job_filters` a company must have to be returned (thresholds the `num_jobs_found` count). Requires `job_filters` with a date filter, so the count is always computed over the date-bounded set of matching jobs. |
| `property_exists_or` | array | No | Return companies that have any of these fields not null. For example, if you pass ['domain', 'linkedin_url'], it will return companies that have a domain OR a linkedin_url set. |
| `company_list_id_not` | array | No | Return companies that don't belong to any of the company lists passed here |
| `property_exists_and` | array | No | Return companies that have all of these fields not null. For example, if you pass ['domain', 'linkedin_url'], it will return companies that have both domain AND linkedin_url set. |
| `company_investors_or` | array | No | Investors of the company |
| `company_crm_status_or` | array | No | Return companies with any of these statuses in the CRM connected to your workspace: the keys of your own statuses (`customer`, `open_deal` and `former_customer` to start with), `in_crm` for any other company the CRM holds, and `no_crm_match` for companies it doesn't. A status your workspace no longer has matches no company, and without a CRM connected every company counts as `no_crm_match`. Webhooks and sales signals can't use this filter yet. |
| `include_total_results` | boolean | No | When enabled, calculates and returns `total_results` and `total_companies` fields in the response. WARNING: This significantly slows down responses as it requires reading the entire dataset. Recommended usage: enable only for the initial request to get totals, then disable for subsequent pagination requests. |
| `revealed_company_data` | string | No | Filter companies (or jobs by their company) by whether the caller's team has them revealed. A company counts as revealed for 90 days after the team reveals it. `true` returns only revealed companies; `false` returns only companies the team has not revealed in the last 90 days, including the ones it never revealed. |
| `company_crm_status_not` | array | No | Return companies with none of these statuses in the CRM connected to your workspace. Takes the same values as `company_crm_status_or`. Webhooks and sales signals can't use this filter yet. |
| `company_country_code_or` | array | No | Return companies whose HQ country code is any of the ones passed here, case sensitive. Pass ISO2 country codes. |
| `company_keyword_slug_or` | array | No | Return results from companies that have mentioned any of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) |
| `company_linkedin_url_or` | array | No | Return companies whose LinkedIn page matches any of the values passed here. Both forms of LinkedIn company URL work — the vanity slug (`https://www.linkedin.com/company/google/`) and the numeric company ID (`https://www.linkedin.com/company/1038`) — as do a bare slug (`google`) and a bare numeric ID (`1038`). A numeric value is matched against the company's LinkedIn ID and its slug, so you do not need to know which of the two you are holding. We have a LinkedIn slug for ~26% of companies and a numeric LinkedIn ID for ~14%, so if you have the company's domain, `company_domain_or` matches more often. |
| `company_revealed_at_gte` | string | No | Filter companies (or jobs by their company) by when the company was revealed in the caller's account. Returns only companies revealed at or after this ISO-8601 timestamp. Scoped to the caller's team — has no effect for companies the team has never revealed. |
| `company_revealed_at_lte` | string | No | Filter companies (or jobs by their company) by when the company was revealed in the caller's account. Returns only companies revealed at or before this ISO-8601 timestamp. Scoped to the caller's team — has no effect for companies the team has never revealed. |
| `expand_technology_slugs` | array | No | Specify technology slugs to include detailed technology usage information for each company. The response will include a 'technologies_found' field containing metrics like confidence score, ranking, and job count for each specified technology. Note: If a technology is not listed for a company, it means we haven't detected it in that company's jobs. This feature is useful for enriching company data with their technology stack details. |
| `industry_id_not_or_null` | array | No | Industry ids to exclude. Companies whose industry we don't know are returned as well. You can use any of [LinkedIn's Industry Codes V2](https://learn.microsoft.com/en-us/linkedin/shared/references/reference-tables/industry-codes-v2) or [GET /v0/catalog/industries](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_industries_v0) |
| `max_revenue_usd_or_null` | string | No | Maximum company revenue, in USD. Also returns companies with unknown revenue. |
| `min_revenue_usd_or_null` | string | No | Minimum company revenue, in USD. Also returns companies with unknown revenue. |
| `company_country_code_not` | array | No | Return companies whose HQ country code is not any of the ones passed here, case sensitive. Pass ISO2 country codes. |
| `company_keyword_slug_and` | array | No | Return results from companies that have mentioned all of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) |
| `company_keyword_slug_not` | array | No | Return results from companies that haven't mentioned any of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) |
| `company_technology_slug_or` | array | No | Return results from companies that have mentioned any of these technologies in their jobs (in job searches, not necessarily in the jobs returned). Case sensitive. Pass slugs. Check out all the technologies we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) with `keyword_type=technology` |
| `max_employee_count_or_null` | string | No | Maximum number of employees in a company. If we don't have company size information, we will return it as well. |
| `min_employee_count_or_null` | string | No | Minimum number of employees in a company. If we don't have company size information, we will return it as well. |
| `company_location_pattern_or` | array | No | Return companies whose city matches any of the patterns passed here. Case insensitive. For example, if you pass 'san francisco', it will return companies whose city is 'San Francisco', 'San Francisco Bay Area', etc. |
| `company_not_revealed_at_gte` | string | No | Exclude companies (or jobs by their company) revealed in the caller's account at or after this ISO-8601 timestamp. Combine with `company_not_revealed_at_lte` to exclude a window. Companies the team never revealed are kept. |
| `company_not_revealed_at_lte` | string | No | Exclude companies (or jobs by their company) revealed in the caller's account at or before this ISO-8601 timestamp. Combine with `company_not_revealed_at_gte` to exclude a window. Companies the team never revealed are kept. |
| `company_technology_slug_and` | array | No | Return results from companies that have mentioned all of these technologies in their jobs (in job searches, not necessarily in the jobs returned). Case sensitive. Pass slugs. Check out all the technologies we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) with `keyword_type=technology` |
| `company_technology_slug_not` | array | No | Return results from companies that haven't mentioned any of these technologies in their jobs. Case sensitive. Pass slugs. Check out all the technologies we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) with `keyword_type=technology` |
| `last_funding_round_date_gte` | string | No | Only return companies whose last funding round date is after or on this date. Format: 'YYYY-MM-DD' |
| `last_funding_round_date_lte` | string | No | Only return companies whose last funding round date is before or on this date. Format: 'YYYY-MM-DD' |
| `company_name_partial_match_or` | array | No | Company names. Will return companies whose name contains any of the substrings passed here, case-insensitively. For example, if you pass "google", it will return "Google", "Google LLC", "Google Inc", etc. |
| `company_revealed_within_hours` | string | No | Return only companies (or jobs by their company) revealed in the caller's account in the last N hours, counted back from when the search runs. `168` is the last 7 days. Saved searches and webhooks resolve the window on every run. It counts every reveal in the window: with N above 90 days (2160 hours) it also returns companies whose 90-day reveal has expired, which cost a credit to see again. |
| `company_description_pattern_or` | array | No | Case-insensitive patterns to match in the company description. Will return companies that match any of the patterns. |
| `company_name_partial_match_not` | array | No | Company names. Will return companies whose name doesn't contain any of the substrings passed here, case-insensitively. For example, if you pass 'google', it will exclude 'Google', 'Google LLC', 'Google Inc', etc. |
| `company_description_pattern_not` | array | No | Case-insensitive patterns to match in the company description. Will exclude companies that match any of the patterns. |
| `company_country_code_not_or_null` | array | No | Return companies whose HQ country code is not any of the ones passed here, case sensitive. Companies whose country we don't know are returned as well. Pass ISO2 country codes. |
| `company_name_case_insensitive_or` | array | No | Only return companies that match these names exactly, case-insensitively. |
| `company_not_revealed_within_hours` | string | No | Exclude companies (or jobs by their company) revealed in the caller's account in the last N hours, counted back from when the search runs. `168` hides what the team revealed in the last 7 days; companies revealed earlier, or never, are kept. Viewing an already-revealed company again does not restart its window. Unlike `revealed_company_data=false`, which excludes the whole 90-day reveal period, this only excludes reveals inside the window. |
| `company_investors_partial_match_or` | array | No | Investors of the company. Will return companies for which any of their investors contains any of the substrings passed here. For example, if you pass 'andree', all funds that match it (like 'Andreessen Horowitz', 'Andreessen Horowitz LLC', etc). |
| `company_description_pattern_accent_insensitive` | string | No | Set to True to make company description searches accent insensitive. For example, "á" will match "a" as well. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | array | Yes |  |
| `metadata` | string | Yes |  |

### Search docs

**Slug:** `THEIRSTACK_MCP_SEARCH_DOCS`

Search TheirStack's public documentation and get the matching pages as markdown.

Use it for any question about how TheirStack works: API endpoints and their
parameters, credits and what each call costs, limits, webhooks, datasets, the
MCP server and the app. Results are grouped by page, each with its URL and
the passages that matched.

- Search with the user's own words first. If nothing useful comes back, retry
  with the words the docs would use or the API parameter name. One topic per
  search.
- Passages are excerpts: read every relevant page in full with get_page
  before answering.
- The public docs are what customers read. When they disagree with internal
  notes or with what you remember, the docs win.
- Cite the page URL in your answer.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | Maximum pages returned. |
| `query` | string | Yes | What to find, in natural language or as an API parameter name. |

### Search jobs

**Slug:** `THEIRSTACK_MCP_SEARCH_JOBS`

Search and filter job postings collected from company career sites and job boards. Filter by job title, keywords in the job description, company (name, domain or LinkedIn URL), location and country, technology and tech stack, salary, seniority, remote/hybrid, employment type, and posting date. Use it to find open roles, to see which companies are hiring for a role or a technology, or to follow the hiring of specific companies.

It consumes **1 API credit** for each job returned in the response.

You must specify at least one of the following filters, or otherwise your request will fail: `posted_at_max_age_days`, `posted_at_min_age_days`, `posted_at_gte`, `posted_at_lte`, `job_id_or`, `company_id_or`, `company_domain_or`, `company_linkedin_url_or`, `company_name_or`, `company_name_case_insensitive_or`, `company_name_partial_match_or`. This is for performance reasons. A company filter only satisfies this rule when it has fewer than 50 values: with more companies, also send a `posted_at_max_age_days`, `posted_at_min_age_days`, `posted_at_gte` or `posted_at_lte` filter. Filtering by `discovered_at_*` fields does not count.

To get the jobs of specific companies, filter by `company_domain_or` (most companies have a domain),`company_linkedin_url_or`, `company_name_or` or `company_name_case_insensitive_or`. Company identifier filters are combined with OR: a job matches when its company matches any value in any of them. If you identify companies in more than one way, send a separate request for each company.

Useful resources: [Avoiding getting the same job twice](https://theirstack.com/en/docs/api-reference/guides/avoid-getting-same-jobs-twice), [Fetching jobs periodically](https://theirstack.com/en/docs/guides/fetch-jobs-periodically), [Preview data mode](https://theirstack.com/en/docs/api-reference/features/preview-data-mode), [Counting results](https://theirstack.com/en/docs/api-reference/features/count-results)

Job, company, technographics and buying intent searches share one rate limit per user (10 per minute on the free plan).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | Page number. Required when using [page-based pagination](https://theirstack.com/en/docs/api-reference/pagination). |
| `limit` | integer | No | Number of results per page. In search, up to 25 on the free plan and 500 on paid plans. |
| `cursor` | string | No | Cursor for pagination |
| `offset` | integer | No | Number of results to skip. Required for [offset-based pagination](https://theirstack.com/en/docs/api-reference/pagination). |
| `is_closed` | string | No | If True, only return closed jobs (jobs where TheirStack detected the posting was closed). If False, only return open jobs. If None, return all jobs regardless of closure status. |
| `job_id_or` | array | No | Get jobs with these IDs only. |
| `easy_apply` | string | No | If True, only return jobs where the candidate applies inside the job board with their profile there (LinkedIn Easy Apply, Indeed Apply). If False, only return jobs that send the candidate to the company's website or ATS, including jobs published on the company's own ATS. Jobs whose source doesn't say are excluded either way; use easy_apply_or_null to include them. |
| `job_id_not` | array | No | Exclude jobs with these IDs. |
| `company_type` | string ("recruiting_agency" | "direct_employer" | "all") | No | Filter by company type. |
| `job_title_or` | array | No | Keyword-based patterns to match job titles. Case-insensitive. Returns jobs whose title contains all the words in any of the patterns, in any order. For example, `marketing vp` matches titles such as `VP of Marketing` or `Marketing VP, EMEA`. Passing `["software engineer", "data scientist"]` returns jobs matching either pattern. A value with a comma returns a 422: remove the comma, or pass separate titles as separate items. Accounts already sending commas have until December 8, 2026. |
| `closed_at_gte` | string | No | ISO 8601 date string (yyyy-mm-dd). Only return jobs closed on this date or after. |
| `closed_at_lte` | string | No | ISO 8601 date string (yyyy-mm-dd). Only return jobs closed on this date or before. |
| `company_id_or` | array | No | Only return companies that match these IDs exactly. This filter acts as an OR filter, so if you pass more than one company ID, it will return companies that match any of the IDs. |
| `job_title_not` | array | No | Keyword-based patterns to exclude job titles. Case-insensitive. Excludes jobs whose title contains all the words in any of the patterns, in any order. For example, `marketing vp` excludes titles such as `VP of Marketing` or `Marketing VP, EMEA`. A value with a comma returns a 422: remove the comma, or pass separate titles as separate items. Accounts already sending commas have until December 8, 2026. |
| `posted_at_gte` | string | No | ISO 8601 date string (yyyy-mm-dd). Only jobs published in this date or after will be returned. A datetime is accepted too and only its date in UTC is used. |
| `posted_at_lte` | string | No | ISO 8601 date string (yyyy-mm-dd). Only jobs published in this date or before will be returned. A datetime is accepted too and only its date in UTC is used. |
| `url_domain_or` | array | No | Include jobs only if their URL domain (from `url` or `source_url`) is in the provided case-insensitive list. For example, ['greenhouse.io', 'workable.com'] will match URLs containing 'greenhouse.io' or 'workable.com'. Refer to our list of sources at https://theirstack.com/en/docs/data/job/sources. |
| `company_id_not` | array | No | Exclude companies that match these IDs. This filter acts as a NOT filter, so if you pass more than one company ID, it will exclude companies that match any of the IDs. |
| `industry_id_or` | array | No | Industry codes. You can use any of [LinkedIn's Industry Codes V2](https://learn.microsoft.com/en-us/linkedin/shared/references/reference-tables/industry-codes-v2) or [GET /v0/catalog/industries](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_industries_v0) |
| `max_salary_usd` | string | No | Maximum annual salary in USD. For example, 150000 means $150,000. |
| `min_salary_usd` | string | No | Minimum annual salary in USD. For example, 100000 means $100,000. |
| `url_domain_not` | array | No | Exclude jobs if their URL domain (from `url` or `source_url`) is in the provided case-insensitive list. For example, ['greenhouse.io', 'workable.com'] will exclude URLs containing 'greenhouse.io' or 'workable.com'. Refer to our list of sources at https://theirstack.com/en/docs/data/job/sources. |
| `company_tags_or` | array | No | Return companies that match any of these keywords |
| `industry_id_not` | array | No | Industry ids to exclude. You can use any of [LinkedIn's Industry Codes V2](https://learn.microsoft.com/en-us/linkedin/shared/references/reference-tables/industry-codes-v2) or [GET /v0/catalog/industries](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_industries_v0) |
| `job_location_or` | array | No | Filter jobs by location. Returns jobs whose locations match ANY of the specified location criteria. Each location criteria is specified using a JobLocationFilter object such as `{"id": 5128581}`; a bare id (`5128581`) is accepted too. Location names are not: find the ids with the [locations catalog endpoint](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_locations_v0). |
| `max_funding_usd` | string | No | Maximum company funding, in USD |
| `max_revenue_usd` | string | No | Maximum company revenue, in USD |
| `min_funding_usd` | string | No | Minimum company funding, in USD |
| `min_revenue_usd` | string | No | Minimum company revenue, in USD |
| `company_name_not` | array | No | Only return companies that don't match these names exactly, case-sensitively. |
| `funding_stage_or` | array | No | Funding stages of companies returned. Possible values: ['angel', 'convertible_note', 'debt_financing', 'equity_crowdfunding', 'other', 'private_equity', 'seed', 'series_a', 'series_b', 'series_c', 'series_d', 'series_e', 'series_f', 'series_g', 'series_h', 'venture_round_not_specified', 'series_i', 'series_j', 'undisclosed', 'series_unknown', 'pre_seed', 'post_ipo_secondary', 'post_ipo_equity', 'post_ipo_debt', 'non_equity_assistance', 'late_vc', 'initial_coin_offering', 'growth_equity_vc', 'grant', 'early_vc', 'corporate_round', 'secondary_market', 'product_crowdfunding'] |
| `job_location_not` | array | No | Filter jobs by location. Returns jobs whose locations DO NOT match ANY of the specified location criteria. Each location criteria is specified using a JobLocationFilter object such as `{"id": 5128581}`; a bare id (`5128581`) is accepted too. Location names are not: find the ids with the [locations catalog endpoint](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_locations_v0). |
| `job_seniority_or` | array | No | Will return jobs where the seniority is any of the ones passed here |
| `blur_company_data` | boolean | No | Enable preview mode to return blurred data without consuming credits in the TheirStack app. Deprecated: preview mode is being retired and will stop working over the API. It still works on paid workspaces created before August 11, 2026 and is not available on any other workspace; new access is only granted to sales intelligence products that preview data to their end users before unlocking it, by opening a support ticket at https://app.theirstack.com/support/new. When enabled, sensitive company fields (name, domain, URLs, descriptions) and job-specific fields (description, URLs) are blurred. Not available when filtering by company identifiers (company_name, company_domain, company_linkedin_url, company_id). Learn more in the [preview mode documentation](https://theirstack.com/en/docs/api-reference/features/preview-data-mode). |
| `company_domain_or` | array | No | Only return companies that match these domains exactly. It accepts full urls (https://www.google.com/) and emails (andrew@stripe.com). This filter acts as an OR filter, so if you pass more than one company domain, it will return companies that match any of the domains. |
| `discovered_at_gte` | string | No | Only jobs discovered by TheirStack on this date or datetime or after will be returned. In UTC timezone. Does not satisfy the mandatory-filter rule; combine it with a `posted_at_*` filter. |
| `discovered_at_lte` | string | No | Only jobs discovered by TheirStack on this date or datetime or before will be returned. In UTC timezone. Does not satisfy the mandatory-filter rule; combine it with a `posted_at_*` filter. |
| `job_export_key_or` | array | No | Internal export lookup keys for fetching a materialized job batch. |
| `only_yc_companies` | string | No | Only return YC companies |
| `company_domain_not` | array | No | Only return companies that don't match these domains exactly. It accepts full urls (https://www.google.com/) and emails (andrew@stripe.com). |
| `company_list_id_or` | array | No | Return companies that belong to any of the company lists passed here |
| `easy_apply_or_null` | string | No | Same as easy_apply, but also returns jobs whose source doesn't say how to apply. |
| `max_employee_count` | string | No | Maximum number of employees in a company |
| `min_employee_count` | string | No | Minimum number of employees in a company |
| `property_exists_or` | array | No | Return jobs that have any of these fields not null. For example, if you pass ['final_url'], it will return jobs that have a final_url set. This field also supports chaining of fields. For example, if you pass ['company_object.domain', 'company_object.linkedin_url'], it will return jobs that have a company domain or a company linkedin_url set. |
| `workplace_types_or` | string | No | Filter jobs by workplace type. Returns jobs that match any of the specified workplace types. `on_site` matches jobs that are neither hybrid nor remote. If no values are provided or an empty list is sent, jobs are not filtered by workplace type. |
| `company_list_id_not` | array | No | Return companies that don't belong to any of the company lists passed here |
| `job_country_code_or` | array | No | 2-letter ISO country code of the location of the job. Can pass more than 1 |
| `job_keyword_slug_or` | array | No | Will return jobs where any of these keyword slugs appear. Case sensitive. Check out all the keywords we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) |
| `property_exists_and` | array | No | Return jobs that have all of these fields not null. For example, if you pass ['company_object.domain', 'final_url'], it will only return jobs that have both a company domain and a final_url set. |
| `company_investors_or` | array | No | Investors of the company |
| `job_country_code_not` | array | No | 2-letter ISO country code of the location of the job. Can pass more than 1. Will exclude jobs from these countries |
| `job_keyword_slug_and` | array | No | Will return jobs where all of these keyword slugs appear. Case sensitive. Check out all the keywords we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) |
| `job_keyword_slug_not` | array | No | Will return jobs where none of these keyword slugs appear. Case sensitive. Check out all the keywords we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) |
| `job_title_pattern_or` | array | No | Regex patterns to match job titles. Case-insensitive. Jobs whose job title matches any of the patterns will be returned. |
| `company_crm_status_or` | array | No | Return companies with any of these statuses in the CRM connected to your workspace: the keys of your own statuses (`customer`, `open_deal` and `former_customer` to start with), `in_crm` for any other company the CRM holds, and `no_crm_match` for companies it doesn't. A status your workspace no longer has matches no company, and without a CRM connected every company counts as `no_crm_match`. Webhooks and sales signals can't use this filter yet. |
| `include_total_results` | boolean | No | When enabled, calculates and returns `total_results` and `total_companies` fields in the response. WARNING: This significantly slows down responses as it requires reading the entire dataset. Recommended usage: enable only for the initial request to get totals, then disable for subsequent pagination requests. |
| `job_title_pattern_and` | array | No | Regex patterns to match job titles. Case-insensitive. Only jobs with title that match all of these patterns will be returned. |
| `job_title_pattern_not` | array | No | Regex patterns to match job titles. Case-insensitive. Jobs whose job title doesn't match any of the patterns will be returned. |
| `revealed_company_data` | string | No | Filter companies (or jobs by their company) by whether the caller's team has them revealed. A company counts as revealed for 90 days after the team reveals it. `true` returns only revealed companies; `false` returns only companies the team has not revealed in the last 90 days, including the ones it never revealed. |
| `company_crm_status_not` | array | No | Return companies with none of these statuses in the CRM connected to your workspace. Takes the same values as `company_crm_status_or`. Webhooks and sales signals can't use this filter yet. |
| `employment_statuses_or` | string | No | Filter jobs by employment status. Returns jobs that match any of the specified employment types. If no values are provided or an empty list is sent, all jobs regardless of employment status will be returned. |
| `job_technology_slug_or` | array | No | Will return jobs where any of these technologies appear. Case sensitive. Pass slugs. Check out all the technologies we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) with `keyword_type=technology`. If you pass more than one technology, we will return jobs that mention at least one of them. |
| `posted_at_max_age_days` | string | No | Date posted max age in days. If 0, only return jobs posted today. If 1, from today and yesterday, etc. |
| `posted_at_min_age_days` | string | No | Date posted min age in days. If 1, only return jobs posted until yesterday. If 30, until 30 days ago, etc. Combine it with `posted_at_max_age_days` for a range that moves with today: `posted_at_max_age_days: 90` and `posted_at_min_age_days: 30` return jobs posted between 90 and 30 days ago. |
| `company_country_code_or` | array | No | Return companies whose HQ country code is any of the ones passed here, case sensitive. Pass ISO2 country codes. |
| `company_keyword_slug_or` | array | No | Return results from companies that have mentioned any of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) |
| `company_linkedin_url_or` | array | No | Return companies whose LinkedIn page matches any of the values passed here. Both forms of LinkedIn company URL work — the vanity slug (`https://www.linkedin.com/company/google/`) and the numeric company ID (`https://www.linkedin.com/company/1038`) — as do a bare slug (`google`) and a bare numeric ID (`1038`). A numeric value is matched against the company's LinkedIn ID and its slug, so you do not need to know which of the two you are holding. We have a LinkedIn slug for ~26% of companies and a numeric LinkedIn ID for ~14%, so if you have the company's domain, `company_domain_or` matches more often. |
| `company_revealed_at_gte` | string | No | Filter companies (or jobs by their company) by when the company was revealed in the caller's account. Returns only companies revealed at or after this ISO-8601 timestamp. Scoped to the caller's team — has no effect for companies the team has never revealed. |
| `company_revealed_at_lte` | string | No | Filter companies (or jobs by their company) by when the company was revealed in the caller's account. Returns only companies revealed at or before this ISO-8601 timestamp. Scoped to the caller's team — has no effect for companies the team has never revealed. |
| `industry_id_not_or_null` | array | No | Industry ids to exclude. Companies whose industry we don't know are returned as well. You can use any of [LinkedIn's Industry Codes V2](https://learn.microsoft.com/en-us/linkedin/shared/references/reference-tables/industry-codes-v2) or [GET /v0/catalog/industries](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_industries_v0) |
| `job_technology_slug_and` | array | No | Will return jobs where all of these technologies appear. Case sensitive. Pass slugs. Check out all the technologies we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) with `keyword_type=technology`. |
| `job_technology_slug_not` | array | No | Will return jobs where none of these technologies appear. Case sensitive. Pass slugs. Check out all the technologies we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) with `keyword_type=technology`. |
| `max_revenue_usd_or_null` | string | No | Maximum company revenue, in USD. Also returns companies with unknown revenue. |
| `min_revenue_usd_or_null` | string | No | Minimum company revenue, in USD. Also returns companies with unknown revenue. |
| `company_country_code_not` | array | No | Return companies whose HQ country code is not any of the ones passed here, case sensitive. Pass ISO2 country codes. |
| `company_keyword_slug_and` | array | No | Return results from companies that have mentioned all of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) |
| `company_keyword_slug_not` | array | No | Return results from companies that haven't mentioned any of these keywords in their jobs. Case sensitive. Pass slugs. Check out all the keywords we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) |
| `company_technology_slug_or` | array | No | Return results from companies that have mentioned any of these technologies in their jobs (in job searches, not necessarily in the jobs returned). Case sensitive. Pass slugs. Check out all the technologies we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) with `keyword_type=technology` |
| `discovered_at_max_age_days` | string | No | If 0, only return jobs added to our database in the current day. If 1, from today and yesterday, etc. Does not satisfy the mandatory-filter rule; combine it with a `posted_at_*` filter. |
| `discovered_at_min_age_days` | string | No | If 1, only return jobs discovered by TheirStack until yesterday. If 2, until 2 days ago, etc. Does not satisfy the mandatory-filter rule; combine it with a `posted_at_*` filter. |
| `job_description_pattern_or` | array | No | Regex patterns to look for in job descriptions. Matches jobs whose description matches ANY pattern. Case-sensitive; start a pattern with (?i) for case-insensitive matching. Regex description searches do not use the word/phrase text index and are slower across large posting windows: for literal whole words or phrases, use job_description_contains_or, which is faster in most cases. |
| `max_employee_count_or_null` | string | No | Maximum number of employees in a company. If we don't have company size information, we will return it as well. |
| `min_employee_count_or_null` | string | No | Minimum number of employees in a company. If we don't have company size information, we will return it as well. |
| `company_location_pattern_or` | array | No | Return companies whose city matches any of the patterns passed here. Case insensitive. For example, if you pass 'san francisco', it will return companies whose city is 'San Francisco', 'San Francisco Bay Area', etc. |
| `company_not_revealed_at_gte` | string | No | Exclude companies (or jobs by their company) revealed in the caller's account at or after this ISO-8601 timestamp. Combine with `company_not_revealed_at_lte` to exclude a window. Companies the team never revealed are kept. |
| `company_not_revealed_at_lte` | string | No | Exclude companies (or jobs by their company) revealed in the caller's account at or before this ISO-8601 timestamp. Combine with `company_not_revealed_at_gte` to exclude a window. Companies the team never revealed are kept. |
| `company_technology_slug_and` | array | No | Return results from companies that have mentioned all of these technologies in their jobs (in job searches, not necessarily in the jobs returned). Case sensitive. Pass slugs. Check out all the technologies we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) with `keyword_type=technology` |
| `company_technology_slug_not` | array | No | Return results from companies that haven't mentioned any of these technologies in their jobs. Case sensitive. Pass slugs. Check out all the technologies we track at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0) with `keyword_type=technology` |
| `job_description_contains_or` | array | No | Recommended filter for searching job descriptions. Pass literal whole words or phrases, not regex. Matches ANY entry (OR); words within a phrase must be adjacent and in order. Whole words only: 'quality' does not match 'inequality'. Uses the word/phrase text index when indexed description search is enabled: case and accents are folded, punctuation separates tokens, and 'C++', 'C#' and 'C' remain distinct. With legacy search enabled, case and punctuation handling can differ. Use job_description_contains_not for exclusions. Does not support wildcards, proximity or AND across entries. Pass each word or phrase as it is, without quotes: wrapping quotes are removed. A value with a comma returns a 422: remove the comma, or pass separate words as separate items. Accounts already sending commas have until December 8, 2026. |
| `job_description_pattern_and` | array | No | Regex patterns that must ALL match the job description (AND logic). Case-sensitive; start a pattern with (?i) for case-insensitive matching. Regex description searches do not use the word/phrase text index and are slower across large posting windows. For literal whole words or phrases, prefer job_description_contains_or, which is faster in most cases but matches ANY entry (OR); there is no job_description_contains_and filter. |
| `job_description_pattern_not` | array | No | Regex patterns to exclude from job descriptions. Excludes jobs whose description matches ANY pattern. Case-sensitive; start a pattern with (?i) for case-insensitive matching. Regex description searches do not use the word/phrase text index and are slower across large posting windows: to exclude literal whole words or phrases, use job_description_contains_not, which is faster in most cases. |
| `last_funding_round_date_gte` | string | No | Only return companies whose last funding round date is after or on this date. Format: 'YYYY-MM-DD' |
| `last_funding_round_date_lte` | string | No | Only return companies whose last funding round date is before or on this date. Format: 'YYYY-MM-DD' |
| `job_description_contains_not` | array | No | Exclude jobs whose descriptions contain ANY of these literal whole words or phrases. Uses the same word/phrase matching as job_description_contains_or, including adjacent words in order. Pass plain text, not regex. Uses the indexed description representation when enabled; exclusions alone can still scan many jobs. Indexed matching folds case and accents and treats punctuation as token boundaries; legacy search can handle case and punctuation differently. Pair with job_description_contains_or for positive matches. An exclusion removes the whole job, even if a positive term also matches. Pass each word or phrase as it is, without quotes: wrapping quotes are removed. A value with a comma returns a 422: remove the comma, or pass separate words as separate items. Accounts already sending commas have until December 8, 2026. |
| `company_name_partial_match_or` | array | No | Company names. Will return companies whose name contains any of the substrings passed here, case-insensitively. For example, if you pass "google", it will return "Google", "Google LLC", "Google Inc", etc. |
| `company_revealed_within_hours` | string | No | Return only companies (or jobs by their company) revealed in the caller's account in the last N hours, counted back from when the search runs. `168` is the last 7 days. Saved searches and webhooks resolve the window on every run. It counts every reveal in the window: with N above 90 days (2160 hours) it also returns companies whose 90-day reveal has expired, which cost a credit to see again. |
| `company_description_pattern_or` | array | No | Case-insensitive patterns to match in the company description. Will return companies that match any of the patterns. |
| `company_name_partial_match_not` | array | No | Company names. Will return companies whose name doesn't contain any of the substrings passed here, case-insensitively. For example, if you pass 'google', it will exclude 'Google', 'Google LLC', 'Google Inc', etc. |
| `company_description_pattern_not` | array | No | Case-insensitive patterns to match in the company description. Will exclude companies that match any of the patterns. |
| `company_country_code_not_or_null` | array | No | Return companies whose HQ country code is not any of the ones passed here, case sensitive. Companies whose country we don't know are returned as well. Pass ISO2 country codes. |
| `company_name_case_insensitive_or` | array | No | Only return companies that match these names exactly, case-insensitively. |
| `company_not_revealed_within_hours` | string | No | Exclude companies (or jobs by their company) revealed in the caller's account in the last N hours, counted back from when the search runs. `168` hides what the team revealed in the last 7 days; companies revealed earlier, or never, are kept. Viewing an already-revealed company again does not restart its window. Unlike `revealed_company_data=false`, which excludes the whole 90-day reveal period, this only excludes reveals inside the window. |
| `company_investors_partial_match_or` | array | No | Investors of the company. Will return companies for which any of their investors contains any of the substrings passed here. For example, if you pass 'andree', all funds that match it (like 'Andreessen Horowitz', 'Andreessen Horowitz LLC', etc). |
| `company_description_pattern_accent_insensitive` | string | No | Set to True to make company description searches accent insensitive. For example, "á" will match "a" as well. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | array | Yes |  |
| `metadata` | string | Yes |  |

### Send companies to crm

**Slug:** `THEIRSTACK_MCP_SEND_COMPANIES_TO_CRM`

Sends up to 1,000 companies to the workspace's CRM. It creates the ones the CRM does not have and updates the ones it has, never a duplicate, with the fields `get_crm_send_settings` returns. Free: only companies the workspace revealed are sent, the rest are skipped. Pass the `id` of each company as company search returns it. The send is queued: read its result with `get_crm_send`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `label` | string | No | Where the companies were sent from, as the history shows it |
| `company_ids` | array | Yes | TheirStack company ids |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `label` | string | Yes |  |
| `total` | integer | Yes |  |
| `failed` | integer | Yes |  |
| `status` | string ("queued" | "running" | "finished" | "failed") | Yes |  |
| `created` | integer | Yes |  |
| `skipped` | integer | Yes |  |
| `updated` | integer | Yes |  |
| `created_at` | string | Yes |  |
| `error_code` | string | Yes |  |
| `started_at` | string | Yes |  |
| `finished_at` | string | Yes |  |
| `requested_by_email` | string | Yes |  |

### Share feedback

**Slug:** `THEIRSTACK_MCP_SHARE_FEEDBACK`

Send feedback about TheirStack to the team.

Only for feedback. To ask for help, request a feature, book a call or ask
for a refund, point the user to the app's support page instead.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | Short, human readable summary of the feedback |
| `feedback` | string | Yes | The feedback itself, in GitHub-flavoured Markdown (headings, lists, tables, code blocks), which is rendered as formatting. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `state` | string | Yes |  |
| `title` | string | Yes |  |
| `payload` | string | No |  |
| `user_id` | string | No |  |
| `category` | string | Yes |  |
| `priority` | integer | Yes |  |
| `created_at` | string | Yes |  |
| `updated_at` | string | Yes |  |
| `user_email` | string | No |  |
| `category_id` | string | Yes |  |
| `description` | string | No | The customer's description in GitHub-flavoured Markdown (headings, lists, tables, code blocks). Null for tickets that arrived by email, whose body stays in the email thread. |
| `extra_metadata` | string | No |  |
| `last_message_at` | string | No |  |
| `rejection_reason` | string | No |  |

### Sync crm

**Slug:** `THEIRSTACK_MCP_SYNC_CRM`

Starts a full sync, which reads every company in the CRM again and gives each one its status under the current rules, or returns the sync already in progress. Workspace owners only.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `kind` | string | Yes |  |
| `status` | string | Yes |  |
| `created_at` | string | Yes |  |
| `error_code` | string | Yes |  |
| `pages_read` | integer | No |  |
| `started_at` | string | Yes |  |
| `finished_at` | string | Yes |  |
| `published_at` | string | Yes |  |
| `records_read` | integer | No |  |
| `error_message` | string | Yes |  |

### Test webhook

**Slug:** `THEIRSTACK_MCP_TEST_WEBHOOK`

Send a test event to verify connectivity and payload handling. Either provide a webhook_id to test an existing webhook (with optional url/secret overrides), or provide url and event_type directly to test before creating a webhook.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | No | URL to send the test event to. Required when webhook_id is not provided. |
| `secret` | string | No | Secret used to sign webhook payloads with HMAC-SHA256. If set, deliveries include an X-TheirStack-Signature-256 header. |
| `event_type` | string ("job_new" | "company_new" | "job_closed") | No | Type of event to simulate. Required when webhook_id is not provided. |
| `webhook_id` | string | No | ID of an existing webhook to test. When provided, url and event_type are loaded from the stored webhook. Body fields (url, secret) can override stored values. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `status` | integer | Yes |  |
| `message` | string | No |  |
| `signature` | string | No |  |

### Update email preferences

**Slug:** `THEIRSTACK_MCP_UPDATE_EMAIL_PREFERENCES`

Turn the current user's optional emails on or off. Send only the preferences to change, grouped by category, as `true` (send) or `false` (don't send); the rest keep their value. Returns every preference after the change.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `usage` | object | No |  |
| `alerts` | object | No |  |
| `onboarding` | object | No |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `schema` | object | Yes |  |
| `form_data` | object | Yes |  |

### Update sales signal

**Slug:** `THEIRSTACK_MCP_UPDATE_SALES_SIGNAL`

Edit a signal's name, why it means they could buy, role, the products it pitches (from the workspace's brand book), weight (1-3) or turn it on or off (`is_active`: an active signal keeps scanning for new companies, and each new match costs API credits: 1 per job ad for a job signal, 3 per company for a company signal; turning one off stops that). Its filters are changed with `change_sales_signal_filters`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No |  |
| `role` | string ("target_role" | "decision_maker" | "customer" | "competitor" | "integration" | "prerequisite" | "pain" | "initiative" | "compliance" | "vertical") | No | What the signal means for the sale |
| `weight` | string | No | 1 low, 2 medium, 3 high |
| `products` | string | No | The products it pitches, by their name in the workspace's brand book: a product the brand book does not have is refused, unless the signal already pitched it |
| `is_active` | string | No | Whether it keeps looking for new companies: an active signal's webhook scans every few hours and each new match costs API credits. Turning it off keeps its matches in the account feed; archive the signal to hide them. |
| `signal_id` | integer | Yes | ID of the sales signal |
| `description` | string | No | Why it means they could buy |
| `hide_crm_accounts` | string | No | Hide the accounts whose status in the connected CRM is one of the statuses the workspace hides from the feed (customers and open deals unless the workspace changed them) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `name` | string | Yes |  |
| `role` | string ("target_role" | "decision_maker" | "customer" | "competitor" | "integration" | "prerequisite" | "pain" | "initiative" | "compliance" | "vertical") | Yes | What the signal means for the sale |
| `weight` | integer | Yes | 1 low, 2 medium, 3 high |
| `products` | array | Yes | The products it pitches, by their name in the brand book |
| `detectors` | array | Yes | What its filters detect: T1 technology detected, J1 job title, J2 job description, J3 technology named in a job ad, J6 open roles count |
| `is_active` | boolean | Yes | Whether it keeps looking for new companies: its webhook scans every few hours. An inactive signal keeps its matches in the feed. |
| `created_at` | string | Yes |  |
| `updated_at` | string | Yes |  |
| `archived_at` | string | Yes | When it was deleted. Null while it is live: only listed with `include_archived`. |
| `description` | string | Yes | Why it means they could buy |
| `search_type` | string | Yes |  |
| `scan_running` | boolean | Yes | Its first scan has not finished: more companies may come |
| `last_scanned_at` | string | Yes | When its last scan finished. An inactive signal finds nothing newer until it is turned on. Null if no scan has finished. |
| `saved_search_id` | integer | Yes | The saved search holding its filters |
| `technology_slugs` | array | Yes | The technologies its filters name |
| `hide_crm_accounts` | boolean | Yes | Whether it hides the accounts the CRM marks as customers or open deals |
| `companies_matching` | integer | Yes |  |

### Update saved search

**Slug:** `THEIRSTACK_MCP_UPDATE_SAVED_SEARCH`

Change a saved search's name, filters, type or email alert. Only the fields you send change. New filters also change what any webhook on this saved search delivers from then on. The saved search of a sales signal is refused; change its filters from the signal.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | No | The filters, as a flat object: the `search_jobs` filter fields when `type` is 'jobs', the `search_companies` ones when it is 'companies'. Don't wrap them in another key. |
| `name` | string | No | Name of the saved search |
| `type` | string ("companies" | "jobs") | No | Type of the saved search. |
| `frequency` | string ("daily" | "weekly") | No | How often the alert email is sent. |
| `search_id` | integer | Yes | The ID of the saved search |
| `is_alert_active` | string | No | Email new results to the creator of the saved search. Alerts only go to the creator. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes | ID of the saved search |
| `body` | string | Yes | Filters. CompanySearchFilters if type is 'companies', JobSearchFilters if type is 'jobs' |
| `name` | string | Yes | Name of the saved search |
| `path` | string | No | Path of the request |
| `type` | string | Yes | Type of the saved search. |
| `query` | string | No | Query of the request |
| `origin` | string | No | `manual` for the team's own searches, `signal` for the search that holds a sales signal's filters, which only the signal can change |
| `creator` | string | Yes | User who created the saved search |
| `team_id` | integer | Yes | Team of the saved search |
| `user_id` | integer | Yes | Owner of the saved search |
| `frequency` | string | No | Frequency of emails alerts sent. |
| `created_at` | string | Yes | Date and time when the saved search was created |
| `updated_at` | string | Yes | Date and time when the saved search was last updated |
| `is_archived` | boolean | No | Is the saved search archived |
| `is_alert_active` | boolean | No | Is the alert active |
| `emails_subscribed` | string | No | The creator's email, recorded when the saved search was created. Alerts are sent to the creator. |
| `querystring_params` | string | No | Dictionary containing the querystring parameters of the request. |
| `has_active_webhooks` | boolean | No | Has active webhooks |

### Update webhook

**Slug:** `THEIRSTACK_MCP_UPDATE_WEBHOOK`

Replace a webhook's settings: target URL, saved search, description, one event per company, and daily event limit. Send every setting you want to keep, because one left out goes back to its default (no daily limit, for example), so read the webhook first. The signing secret and the event types only change when sent. To pause or resume a webhook, change its status instead.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | URL of the webhook |
| `secret` | string | No | Secret used to sign webhook payloads with HMAC-SHA256. If set, deliveries include an X-TheirStack-Signature-256 header. Omit to keep current value; set to null to remove. |
| `search_id` | integer | Yes | ID of the search that the webhook is listening to. |
| `webhook_id` | integer | Yes | ID of the webhook |
| `description` | string | No | Description of the webhook |
| `active_event_types` | string | No | Event types this webhook subscribes to. If None, defaults to the search type's primary event (job_new for jobs, company_new for companies). |
| `max_events_per_day` | string | No | Most new records the webhook takes on per UTC day, or null for no cap. A job webhook counts jobs: each can send its job.new and, when it closes, its job.closed, so a job costs at most two credits. Records over it are dropped, never sent, charged or queued for the next day. Minimum 1: to send nothing, disable the webhook. |
| `listening_start_time` | string | No | Date when the webhook started listening for events. If listening_start_time is None, the webhook will listen to all events matching the search query regardless of when they occurred. |
| `trigger_once_per_company` | boolean | No | Only for webhook type ='job.new'. If true, Company A with 5 jobs → 1 event triggered. If false, Company A with 5 jobs → 5 events triggered |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `url` | string | Yes | URL of the webhook |
| `team_id` | integer | Yes |  |
| `user_id` | integer | Yes |  |
| `is_active` | boolean | Yes |  |
| `search_id` | integer | Yes | ID of the search that the webhook is listening to. |
| `created_at` | string | Yes |  |
| `event_type` | string | Yes | Deprecated: use active_event_types. Primary event type derived from webhook_type. |
| `has_secret` | boolean | Yes |  |
| `updated_at` | string | Yes |  |
| `description` | string | No | Description of the webhook |
| `is_archived` | boolean | Yes |  |
| `search_name` | string | Yes |  |
| `webhook_type` | string ("jobs" | "companies") | Yes |  |
| `active_event_types` | array | Yes |  |
| `max_events_per_day` | string | No | Most new records the webhook takes on per UTC day, or null for no cap. A job webhook counts jobs: each can send its job.new and, when it closes, its job.closed, so a job costs at most two credits. Records over it are dropped, never sent, charged or queued for the next day. Minimum 1: to send nothing, disable the webhook. |
| `scanning_frequency` | string | No | Scanning frequency for the webhook |
| `listening_start_time` | string | No | Date when the webhook started listening for events. If listening_start_time is None, the webhook will listen to all events matching the search query regardless of when they occurred. |
| `trigger_once_per_company` | boolean | No | Only for webhook type ='job.new'. If true, Company A with 5 jobs → 1 event triggered. If false, Company A with 5 jobs → 5 events triggered |

### Update webhook status

**Slug:** `THEIRSTACK_MCP_UPDATE_WEBHOOK_STATUS`

Pause or resume a webhook. A disabled webhook sends nothing. When you enable it again, by default it delivers every record matched while it was disabled. Pass skip_events_while_inactive=true when enabling to start the feed from that moment instead, so nothing matched while disabled is sent or charged.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `is_active` | boolean | Yes |  |
| `webhook_id` | integer | Yes | ID of the webhook |
| `skip_events_while_inactive` | boolean | No | What happens to records matched while the webhook was disabled. Only read when enabling a disabled webhook (is_active=true). False (default): they are delivered and charged on the first scan after enabling. True: the feed starts from the moment the webhook is enabled, so records matched while it was disabled are never sent nor charged. Ignored when disabling. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | integer | Yes |  |
| `url` | string | Yes | URL of the webhook |
| `team_id` | integer | Yes |  |
| `user_id` | integer | Yes |  |
| `is_active` | boolean | Yes |  |
| `search_id` | integer | Yes | ID of the search that the webhook is listening to. |
| `created_at` | string | Yes |  |
| `event_type` | string | Yes | Deprecated: use active_event_types. Primary event type derived from webhook_type. |
| `has_secret` | boolean | Yes |  |
| `updated_at` | string | Yes |  |
| `description` | string | No | Description of the webhook |
| `is_archived` | boolean | Yes |  |
| `search_name` | string | Yes |  |
| `webhook_type` | string ("jobs" | "companies") | Yes |  |
| `active_event_types` | array | Yes |  |
| `max_events_per_day` | string | No | Most new records the webhook takes on per UTC day, or null for no cap. A job webhook counts jobs: each can send its job.new and, when it closes, its job.closed, so a job costs at most two credits. Records over it are dropped, never sent, charged or queued for the next day. Minimum 1: to send nothing, disable the webhook. |
| `scanning_frequency` | string | No | Scanning frequency for the webhook |
| `listening_start_time` | string | No | Date when the webhook started listening for events. If listening_start_time is None, the webhook will listen to all events matching the search query regardless of when they occurred. |
| `trigger_once_per_company` | boolean | No | Only for webhook type ='job.new'. If true, Company A with 5 jobs → 1 event triggered. If false, Company A with 5 jobs → 5 events triggered |
