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

# Proposes what one of the team's markets is, from the pages that use its name: what's sold, to whom, the names it goes by and its buyer groups, each with its page. Saves nothing

> Proposes what one of your markets is, read from the pages that use its name, for a person to correct: what's sold (`sells`) and to whom (`buyers`), each a line with the words of a page that show it; the names it goes by (`names`), its own first, each with the words of a page that writes it; and its buyer groups (`buyer_groups`), each with the words of a page that names them. PodData reads the pages you give (`pages`) and, where the open web is on here, two web searches for the name: one of the open web, one kept to the review sites and analysts. Only a page that uses the name is read, a passage around where it does; one you give is read whether or not it does. One model reads them as data and says what they say; a part is kept only where its words are on a page read, and a name only where a page read writes it, so each name's page uses it. What it said that isn't kept comes back in `left_out` with why. `definition` is the same in the shape `PUT /markets/{market}` takes, or null where what's sold, to whom or a name is missing, and `why` then says what. Nothing is saved.

**Before:** The market is one of your team's (`POST /markets`). It may have a definition already: this reads the pages that use its names too, and replaces nothing.

**Next:** Show a person each part with its page and let them correct it. Keep it with `PUT /markets/{market}`, giving `definition` as they corrected it, with the market's `name`; then `POST /markets/{market}/players/find` finds its main players against it.

**Limits:** At most 5 pages given, and 10 pages read an ask. Each ask makes at most two web searches on Exa, about $0.004 each, whose credits PodData's readers share: an answer of 402 from Exa, out of credits, stops every search, and `stopped` says so. One model call, about a tenth of a cent, under the day's spending cap: past it, `stopped` says when to ask again (`until`, the next midnight UTC). `cost` says what the ask spent. As many asks a day as a plan finds rivals, counted on their own, none on Free and Pro, 3 on Pilot, and no limit on Enterprise; past it, a `403` with the code `plan`. Enterprise and Pilot only.

**MCP tool:** `find_market_definition`, on PodData's MCP server at `https://api.poddata.ai/mcp`, does what this route does, with the same key. See [The MCP server](https://docs.poddata.ai/mcp-server.md).


## OpenAPI

````yaml /openapi.json post /markets/{market}/definition/find
openapi: 3.1.0
info:
  title: PodData API
  version: 1.0.0
  description: >-
    PodData is competitive intelligence from the record: what leaders said on
    podcasts, in interviews and at their own events, as quotes with the speaker,
    the source, the day and the second; and, for a diligence, what public
    sources say about a company and its rivals, read through links a person on
    your team has confirmed.


    ## Quick start


    1. **A key.** Someone on your team makes one in the workspace, Settings ›
    API keys. Send it on every call as `Authorization: Bearer pd_live_…`. Keep
    it in an environment variable, such as `PODDATA_API_KEY`, and never print it
    or write it to a file.

    2. **A target.** `POST /targets` with a company's `name` and `domain`, an id
    from `GET /companies?q=`, or its SEC `ticker`.

    3. **Its links and rivals.** `POST /targets/{company}/find`, `POST
    /targets/{company}/profiles/find` and `POST /targets/{company}/rivals/find`
    find them, each with the page that shows it. A link with its page is taken
    at once, and so is a rival both reads agree on with a sign no model gave.
    `POST /companies/{id}/relations` proposes a listed parent or comparable,
    taken by a test of its own. Show a person what was taken, and confirm what
    stayed proposed only on their yes.

    4. **A read.** `POST /targets/{company}/read` with `{"rivals": true}` asks
    PodData to read the target and its confirmed rivals now. `GET
    /targets/{company}/coverage` says what has been read, source by source.

    5. **The files.** `GET /targets/{company}/folder` lists a file for each
    source, for the target and each confirmed rival. `?format=zip` is all of
    them at once.

    6. **A report.** `POST /diligence-reports` makes one with five empty pages.
    Write each with `PUT /diligence-reports/{id}/pages/{page}`, check it with
    `POST /diligence-reports/{id}/check`, and read it with every figure filled
    with `GET /diligence-reports/{id}`. Or have PodData's own agent write it,
    `POST /diligence-reports/{id}/runs`, and follow the run with `GET
    /diligence-runs/{id}`.


    The tags below are in that order. Each operation says what has to be true
    first, what to call next and its limits, with a made-up example of the call
    and its answer.


    **For an assistant,** start from `https://api.poddata.ai/llms.txt`, which
    needs no key: the same steps, the MCP server, and PodData's diligence skill
    with its puller, which saves a target's folder, its rivals' and its reports
    to disk. The MCP server does what the API does:
    `https://api.poddata.ai/mcp`, with the same key or by signing in to PodData,
    and each operation here names its tool in `x-mcp-tool`. To add it to Claude
    Code with the key read from the environment each time it starts, never
    written down, run this as it is, in single quotes: `claude mcp add
    --transport http --scope project poddata https://api.poddata.ai/mcp --header
    'Authorization: Bearer ${PODDATA_API_KEY}'`.


    **Limits.** 120 requests a minute a key, then a `429` with `Retry-After`. A
    team's plan sets how many reads, rival finds and filers it may ask for a
    day, and a call past one is a `403` with the code `plan` that says the
    limit. A quote is at most 80 words in a row. A review's, a story's, a post's
    and a record's words come whole where PodData holds them, in a list and in a
    file. A whole document or transcript comes from its own route, one at a
    time, under a daily limit.


    **Errors** are `{"error": {"code": "…", "message": "…"}}`, the message a
    sentence that says what to do.
servers:
  - url: https://api.poddata.ai/v1
security:
  - key: []
tags:
  - name: Targets
    description: >-
      Start here. The companies your team looks at: add one by its name and
      domain, by an id from `GET /companies`, or by its SEC ticker. A target is
      your team's alone, and nothing says another team looks at it.
  - name: Links
    description: >-
      A target's own domain, listings, accounts and review profiles. PodData
      proposes them from its own site and from the review sites' own pages, and
      reads only through a link a person on your team has confirmed.
  - name: Rivals
    description: >-
      The companies a target competes with. PodData finds and tests candidates
      and proposes only the rivals. One both reads agree on, with an industry
      code or a town the two firms share, is taken at once; a person decides the
      rest and can strike any. A confirmed rival is read beside the target.
  - name: Parents and comparables
    description: >-
      A target's listed parent and the listed companies it's compared with. A
      parent proposed with a page that shows it is taken at once, and so is a
      listed comparable that passed the rival test. A person decides the rest
      and can strike any.
  - name: Reads
    description: >-
      Ask PodData to read a target and its confirmed rivals now, and see what
      has been read for it, source by source, and what is missing and why.
  - name: Records and signals
    description: >-
      What PodData read about a company through its confirmed links: records,
      such as filings, licences, cases and stories, and signals, such as reviews
      and ratings, each with its own day and its page on the source's site. And
      the figures your team's own data licences read.
  - name: Ads and site
    description: >-
      A brand's ads in Meta's US ad library, from PodData's weekly reads, and
      the pages of a company's own site as PodData read them.
  - name: Number tools
    description: >-
      Figures computed on the server, so an assistant never pages through
      thousands of reviews or does the sums itself: ratings, complaints, a
      series, a timeline, ads and a site, for a company beside its confirmed
      rivals, or for a market's confirmed players with the field's own figures.
      Each answers the figures, the rows behind them, the evidence and how they
      were built.
  - name: Folder
    description: >-
      Everything PodData holds for a target and its confirmed rivals, as files:
      an index, a CSV a source and kind, and one zip.
  - name: Reports
    description: >-
      A diligence report: an overview and its pages, each figure filled by a
      number tool when the report is read, and a check that refuses what the
      evidence doesn't hold. Your own assistant writes it a page at a time, or
      PodData's agent does.
  - name: Markets
    description: >-
      A market your team studies, such as Intelligent Document Processing: a
      whole category rather than one company, what it is in words, and its main
      players, each read as a target's rival is. A market is your team's own,
      and nothing says another team studies the same one.
  - name: Report runs
    description: >-
      PodData's own agent writing a report or changing one: each run's status,
      its turns and what it cost.
  - name: Officers and directors
    description: >-
      The officers and directors of companies that file with the SEC, from their
      own Forms 3, 4 and 5: name the filers you want by ticker or SEC number, up
      to 500 a call, then read each one's people, or all of them at once, with
      updated_after for what changed.
  - name: Quotes
    description: >-
      What people said, as quotes with the speaker, the show, the day, the
      second and a page to cite.
  - name: People
    description: >-
      The people PodData quotes, their sources and timelines, and lookups of
      someone new.
  - name: Shows and episodes
    description: The shows PodData reads and their episodes, with who spoke when.
  - name: Companies
    description: >-
      What companies said and filed themselves: their documents, events,
      transcripts, slides, posts and figures, and passages of at most 80 words
      from them.
  - name: Trackers
    description: >-
      A tracker follows a topic or a person and sends each new quote it matches
      by email, Slack or webhook.
  - name: Lists
    description: >-
      A team's own lists of people and companies, to narrow a search or a
      tracker to them.
  - name: Saved
    description: >-
      What a person signed in has saved, their saved filters and their calendar
      feed. A key, which has no person, is refused most of these.
  - name: Sources
    description: >-
      The sources PodData reads, what it holds from each, and how much of the
      watch list is covered.
  - name: Webhooks
    description: Webhooks a program registers to be sent what its trackers match.
  - name: Usage
    description: The team's calls and reads, counted by day and kind.
  - name: Help
    description: >-
      PodData's guide to itself: what each part of PodData does and where in the
      workspace it's done, topic by topic.
paths:
  /markets/{market}/definition/find:
    post:
      tags:
        - Markets
      summary: >-
        Proposes what one of the team's markets is, from the pages that use its
        name: what's sold, to whom, the names it goes by and its buyer groups,
        each with its page. Saves nothing
      description: >-
        Proposes what one of your markets is, read from the pages that use its
        name, for a person to correct: what's sold (`sells`) and to whom
        (`buyers`), each a line with the words of a page that show it; the names
        it goes by (`names`), its own first, each with the words of a page that
        writes it; and its buyer groups (`buyer_groups`), each with the words of
        a page that names them. PodData reads the pages you give (`pages`) and,
        where the open web is on here, two web searches for the name: one of the
        open web, one kept to the review sites and analysts. Only a page that
        uses the name is read, a passage around where it does; one you give is
        read whether or not it does. One model reads them as data and says what
        they say; a part is kept only where its words are on a page read, and a
        name only where a page read writes it, so each name's page uses it. What
        it said that isn't kept comes back in `left_out` with why. `definition`
        is the same in the shape `PUT /markets/{market}` takes, or null where
        what's sold, to whom or a name is missing, and `why` then says what.
        Nothing is saved.


        **Before:** The market is one of your team's (`POST /markets`). It may
        have a definition already: this reads the pages that use its names too,
        and replaces nothing.


        **Next:** Show a person each part with its page and let them correct it.
        Keep it with `PUT /markets/{market}`, giving `definition` as they
        corrected it, with the market's `name`; then `POST
        /markets/{market}/players/find` finds its main players against it.


        **Limits:** At most 5 pages given, and 10 pages read an ask. Each ask
        makes at most two web searches on Exa, about $0.004 each, whose credits
        PodData's readers share: an answer of 402 from Exa, out of credits,
        stops every search, and `stopped` says so. One model call, about a tenth
        of a cent, under the day's spending cap: past it, `stopped` says when to
        ask again (`until`, the next midnight UTC). `cost` says what the ask
        spent. As many asks a day as a plan finds rivals, counted on their own,
        none on Free and Pro, 3 on Pilot, and no limit on Enterprise; past it, a
        `403` with the code `plan`. Enterprise and Pilot only.
      operationId: findMarketDefinition
      parameters:
        - schema:
            type: string
            maxLength: 64
          required: true
          name: market
          in: path
      requestBody:
        required: false
        content:
          application/json:
            examples:
              made-up:
                summary: 'Made up: no team’s data'
                value: {}
            schema:
              type: object
              properties:
                pages:
                  type: array
                  items:
                    type: string
                    maxLength: 2000
                    pattern: ^https?:\/\/\S+$
                  minItems: 1
                  maxItems: 5
                  description: >-
                    Pages that use the market's name, each read from its own
                    site, such as a review site's category or an analyst's page.
                    At most 5
                from:
                  type: array
                  items:
                    type: string
                    enum:
                      - pages
                      - web
                  minItems: 1
                  description: >-
                    Where to look: pages, the ones given, and web, the open web.
                    Both if left out
              additionalProperties: false
      responses:
        '200':
          description: >-
            What the pages that use its name say it is, each part with its page,
            for a person to correct and keep
          content:
            application/json:
              examples:
                made-up:
                  summary: 'Made up: no team’s data'
                  value:
                    market:
                      id: mkt_01JCQ9IDP0000000000000000A
                      name: Intelligent document processing
                    proposed:
                      sells:
                        line: >-
                          Software that reads documents such as invoices and
                          claims and turns them into structured data.
                        shows:
                          words: >-
                            reads documents such as invoices, claims and bank
                            statements and turns them into structured data
                          page: >-
                            https://reviews.example/categories/intelligent-document-processing
                      buyers:
                        line: >-
                          Accounts payable teams, lenders and insurers that
                          handle documents at volume.
                        shows:
                          words: >-
                            used by accounts payable teams, lenders and insurers
                            to cut manual data entry
                          page: >-
                            https://reviews.example/categories/intelligent-document-processing
                      names:
                        - name: Intelligent document processing
                          shows:
                            words: >-
                              Intelligent document processing (IDP) software
                              reads documents such as invoices
                            page: >-
                              https://reviews.example/categories/intelligent-document-processing
                        - name: IDP
                          shows:
                            words: >-
                              Intelligent document processing (IDP) software
                              reads documents such as invoices
                            page: >-
                              https://reviews.example/categories/intelligent-document-processing
                        - name: Document AI
                          shows:
                            words: >-
                              a platform for lenders and insurers. Our document
                              AI reads loan files and claims.
                            page: https://docuflow.example/
                      buyer_groups:
                        - group: Accounts payable teams
                          shows:
                            words: used by accounts payable teams
                            page: >-
                              https://reviews.example/categories/intelligent-document-processing
                        - group: Lenders
                          shows:
                            words: for lenders and insurers
                            page: https://docuflow.example/
                    definition:
                      sells: >-
                        Software that reads documents such as invoices and
                        claims and turns them into structured data.
                      buyers: >-
                        Accounts payable teams, lenders and insurers that handle
                        documents at volume.
                      names:
                        - name: Intelligent document processing
                          url: >-
                            https://reviews.example/categories/intelligent-document-processing
                        - name: IDP
                          url: >-
                            https://reviews.example/categories/intelligent-document-processing
                        - name: Document AI
                          url: https://docuflow.example/
                      buyer_groups:
                        - Accounts payable teams
                        - Lenders
                    left_out:
                      - part: name
                        said: Robotic process automation
                        why: No page read uses it.
                    pages:
                      - url: >-
                          https://reviews.example/categories/intelligent-document-processing
                        title: Best Intelligent Document Processing Software
                        kind: review_site
                        from: web
                        used: true
                        why: null
                      - url: >-
                          https://analyst.example/glossary/intelligent-document-processing
                        title: Intelligent document processing, defined
                        kind: analyst
                        from: web
                        used: true
                        why: null
                      - url: https://docuflow.example/
                        title: Docuflow
                        kind: other
                        from: web
                        used: true
                        why: null
                      - url: https://shredders.example/
                        title: Paper shredding
                        kind: other
                        from: web
                        used: false
                        why: >-
                          It doesn't use the name Intelligent document
                          processing.
                    sources:
                      - from: pages
                        looked: false
                        found: 0
                        why: No pages were given.
                      - from: web
                        looked: true
                        found: 3
                        why: null
                    why: null
                    stopped: null
                    cost:
                      usd: 0.0085
                      model_calls: 1
                      searches: 2
                      pages: 0
                    asked_today: 1
                    limit: 3
              schema:
                type: object
                properties:
                  market:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                    required:
                      - id
                      - name
                  proposed:
                    type: object
                    properties:
                      sells:
                        type:
                          - object
                          - 'null'
                        properties:
                          line:
                            type: string
                          shows:
                            type: object
                            properties:
                              words:
                                type: string
                              page:
                                type: string
                            required:
                              - words
                              - page
                        required:
                          - line
                          - shows
                      buyers:
                        type:
                          - object
                          - 'null'
                        properties:
                          line:
                            type: string
                          shows:
                            type: object
                            properties:
                              words:
                                type: string
                              page:
                                type: string
                            required:
                              - words
                              - page
                        required:
                          - line
                          - shows
                      names:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            shows:
                              type: object
                              properties:
                                words:
                                  type: string
                                page:
                                  type: string
                              required:
                                - words
                                - page
                          required:
                            - name
                            - shows
                      buyer_groups:
                        type: array
                        items:
                          type: object
                          properties:
                            group:
                              type: string
                            shows:
                              type: object
                              properties:
                                words:
                                  type: string
                                page:
                                  type: string
                              required:
                                - words
                                - page
                          required:
                            - group
                            - shows
                    required:
                      - sells
                      - buyers
                      - names
                      - buyer_groups
                  definition:
                    type:
                      - object
                      - 'null'
                    properties:
                      sells:
                        type: string
                      buyers:
                        type: string
                      names:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            url:
                              type: string
                          required:
                            - name
                            - url
                      buyer_groups:
                        type: array
                        items:
                          type: string
                    required:
                      - sells
                      - buyers
                      - names
                      - buyer_groups
                  left_out:
                    type: array
                    items:
                      type: object
                      properties:
                        part:
                          type: string
                          enum:
                            - sells
                            - buyers
                            - name
                            - buyer_group
                        said:
                          type: string
                        why:
                          type: string
                      required:
                        - part
                        - said
                        - why
                  pages:
                    type: array
                    items:
                      type: object
                      properties:
                        url:
                          type: string
                        title:
                          type:
                            - string
                            - 'null'
                        kind:
                          type: string
                          enum:
                            - review_site
                            - analyst
                            - other
                        from:
                          type: string
                          enum:
                            - pages
                            - web
                        used:
                          type: boolean
                        why:
                          type:
                            - string
                            - 'null'
                      required:
                        - url
                        - title
                        - kind
                        - from
                        - used
                        - why
                  sources:
                    type: array
                    items:
                      type: object
                      properties:
                        from:
                          type: string
                          enum:
                            - pages
                            - web
                        looked:
                          type: boolean
                        found:
                          type: integer
                        why:
                          type:
                            - string
                            - 'null'
                      required:
                        - from
                        - looked
                        - found
                        - why
                  why:
                    type:
                      - string
                      - 'null'
                  stopped:
                    type:
                      - object
                      - 'null'
                    properties:
                      why:
                        type: string
                      until:
                        type:
                          - string
                          - 'null'
                    required:
                      - why
                      - until
                  cost:
                    type: object
                    properties:
                      usd:
                        type: number
                      model_calls:
                        type: integer
                      searches:
                        type: integer
                      pages:
                        type: integer
                    required:
                      - usd
                      - model_calls
                      - searches
                      - pages
                  asked_today:
                    type: integer
                  limit:
                    type:
                      - integer
                      - 'null'
                required:
                  - market
                  - proposed
                  - definition
                  - left_out
                  - pages
                  - sources
                  - why
                  - stopped
                  - cost
                  - asked_today
                  - limit
        default:
          description: An error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      x-codeSamples:
        - lang: bash
          label: curl, made-up values
          source: >-
            curl -X POST
            'https://api.poddata.ai/v1/markets/mkt_01JCQ9IDP0000000000000000A/definition/find'
            \
              -H "Authorization: Bearer $PODDATA_API_KEY" \
              -H 'Content-Type: application/json' \
              -d '{}'
components:
  schemas:
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - bad_request
                - no_key
                - plan
                - forbidden
                - not_found
                - conflict
                - unclear
                - slow_down
                - internal
                - busy
            message:
              type: string
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    key:
      type: http
      scheme: bearer
      description: >-
        An API key, sent as `Authorization: Bearer pd_live_…`. Someone on your
        team makes one in the workspace, Settings › API keys; it's shown once.
        Staging's keys start with `pd_test_`.

````

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