> ## Documentation Index
> Fetch the complete documentation index at: https://agnt.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Discover companies

> Find companies matching a set of criteria. Pass either a natural-language `query` or structured `filters` (industry, headcount, location, technology, funding, keywords, …). Returns paginated company summaries.



## OpenAPI

````yaml /openapi/agnt.openapi.json post /v1/data/agnt/companies/discover
openapi: 3.0.0
info:
  title: agntdata Lead APIs
  description: >-
    Internal lead enrichment API surface that orchestrates multiple upstream
    data providers behind a single endpoint per use case. Use these endpoints to
    find and verify professional emails, find mobile phone numbers, enrich and
    search people and companies, discover companies, list a domain's email
    addresses, run bulk people/company enrichments, and fetch company
    intelligence (funding/competitors/technographics). Provider names are never
    returned — agntdata picks the cheapest providers that can fulfill the
    requested fields and merges results.
  version: 1.0.0
  contact:
    name: agntdata
    url: https://agntdata.dev
servers:
  - url: https://api.agntdata.dev
    description: agntdata API
security:
  - ApiKeyAuth: []
tags:
  - name: People — Email
    description: Find, verify, and enrich professional email addresses.
  - name: People — Enrich
    description: Enrich people with structured profile data.
  - name: People — Mobile
    description: Find mobile phone numbers from a profile.
  - name: People — Search
    description: Search the people graph by structured filters.
  - name: Companies — Discover
    description: Discover companies that match a set of criteria.
  - name: Companies — Email
    description: List the email addresses found for a company domain.
  - name: Companies — Enrich
    description: Enrich companies with firmographic data.
  - name: Companies — Search
    description: Search the company graph by structured filters.
  - name: Companies — Intelligence
    description: Funding, competitors, and technographics for a company.
paths:
  /v1/data/agnt/companies/discover:
    post:
      tags:
        - Companies — Discover
      summary: Discover companies
      description: >-
        Find companies matching a set of criteria. Pass either a
        natural-language `query` or structured `filters` (industry, headcount,
        location, technology, funding, keywords, …). Returns paginated company
        summaries.
      operationId: companies_discover
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompaniesDiscoverRequest'
            example:
              query: Series A B2B SaaS companies in Europe under 50 employees
              limit: 25
      responses:
        '200':
          description: Discovery results.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Post_agnt_companies_discover_Response'
        '400':
          description: Validation error.
        '401':
          description: Unauthorized.
      security:
        - ApiKeyAuth: []
components:
  schemas:
    CompaniesDiscoverRequest:
      type: object
      properties:
        query:
          type: string
          minLength: 1
          description: >-
            Free-text query (e.g. "AI startups in healthcare"). Combine with
            `filters` or use alone.
        filters:
          type: object
          additionalProperties: {}
          description: >-
            Filter object. Supported keys (each is an array unless noted):
            `industries` (array of industry strings — e.g. ["Computer Software",
            "Internet"]); `headcount` (string range bucket — one of "1-10",
            "11-50", "51-200", "201-500", "501-1000", "1001-5000", "5001-10000",
            "10001+"); `company_type` (array — e.g. ["educational",
            "government", "nonprofit", "private", "public", "self_employed"]);
            `technology` (array of technology slugs — e.g. ["stripe",
            "salesforce"]); `country` (array of ISO-3166 alpha-2 codes — e.g.
            ["US", "GB"]). Use the keys above exactly as written; flat aliases
            like `industry` (singular), `headcount_min`, or `headcount_max` are
            ignored and yield empty results. Example: `{ "industries":
            ["Computer Software"], "headcount": "1001-5000", "country": ["US"]
            }`.
      additionalProperties: false
    Post_agnt_companies_discover_Response:
      type: object
      required:
        - success
        - data
      properties:
        success:
          type: boolean
          enum:
            - true
        data:
          $ref: '#/components/schemas/CompaniesDiscoverResponse'
        meta:
          $ref: '#/components/schemas/AgntMeta'
    CompaniesDiscoverResponse:
      type: object
    AgntMeta:
      type: object
      properties:
        costCents:
          type: number
        purchasedBalanceCents:
          type: number
        subscriptionRemainingCents:
          type: number
        cached:
          type: boolean
        latencyMs:
          type: number
        priceRange:
          type: object
          properties:
            minCents:
              type: number
            maxCents:
              type: number
          required:
            - minCents
            - maxCents
          additionalProperties: false
        budgetCents:
          type: number
        budgetCentsPerRecord:
          type: number
        providersAttempted:
          type: number
        fieldsReturned:
          type: array
          items:
            type: string
        fieldsMissing:
          type: array
          items:
            type: string
        records:
          type: number
      required:
        - costCents
        - purchasedBalanceCents
        - subscriptionRemainingCents
        - cached
        - latencyMs
      additionalProperties: true
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Bearer token. Pass your agntdata API key as: Authorization: Bearer
        agnt_live_...

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.