> ## 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.

# Adds a market to the team's: its name, and what it is in words

> Adds a market your team studies, such as Intelligent Document Processing: a whole category rather than one company, read through its main players. Give its `name`, and with it, or later with `PUT /markets/{market}`, what it is: `sells` and `buyers` in a line each, `names` (each with the page that uses it) and `buyer_groups`, as a target's category is set; and its `links`, an industry code (`naics`) or a Reddit community (`reddit_subreddit`), each with its page. When it has names, the readers that read a category's names (Google Trends, Reddit, YouTube, the category's size and podcasts on its market) are asked to read them, and `read` says which. `201` with the market, or `200` with the one your team holds by that name already.

**Before:** Nothing. A market is your team's own: another team that adds the same name gets a market of its own, and nothing tells either of the other.

**Next:** Propose its main players, each with the page that shows it's one. `GET /markets/{market}` reads it back with its players counted.

**Limits:** `sells`, `buyers` and `names` come together or not at all. A link of any other kind is a `400`: a market has players, not accounts. Asking its readers counts as one of the day's reads, none on Free and Pro, 10 on Pilot, and no limit on Enterprise. Enterprise and Pilot only; on another plan a `403` with the code `plan`. Saving writes a line in your team's audit log.

**MCP tool:** `add_market`, 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
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:
    post:
      tags:
        - Markets
      summary: 'Adds a market to the team''s: its name, and what it is in words'
      description: >-
        Adds a market your team studies, such as Intelligent Document
        Processing: a whole category rather than one company, read through its
        main players. Give its `name`, and with it, or later with `PUT
        /markets/{market}`, what it is: `sells` and `buyers` in a line each,
        `names` (each with the page that uses it) and `buyer_groups`, as a
        target's category is set; and its `links`, an industry code (`naics`) or
        a Reddit community (`reddit_subreddit`), each with its page. When it has
        names, the readers that read a category's names (Google Trends, Reddit,
        YouTube, the category's size and podcasts on its market) are asked to
        read them, and `read` says which. `201` with the market, or `200` with
        the one your team holds by that name already.


        **Before:** Nothing. A market is your team's own: another team that adds
        the same name gets a market of its own, and nothing tells either of the
        other.


        **Next:** Propose its main players, each with the page that shows it's
        one. `GET /markets/{market}` reads it back with its players counted.


        **Limits:** `sells`, `buyers` and `names` come together or not at all. A
        link of any other kind is a `400`: a market has players, not accounts.
        Asking its readers counts as one of the day's reads, none on Free and
        Pro, 10 on Pilot, and no limit on Enterprise. Enterprise and Pilot only;
        on another plan a `403` with the code `plan`. Saving writes a line in
        your team's audit log.
      operationId: addMarket
      requestBody:
        required: true
        content:
          application/json:
            examples:
              made-up:
                summary: 'Made up: no team’s data'
                value:
                  name: Intelligent Document Processing
                  sells: >-
                    Software that reads documents and returns their fields, by
                    API or in an app
                  buyers: >-
                    Lenders, insurers and operations teams that handle documents
                    at volume
                  names:
                    - name: Intelligent Document Processing
                      url: >-
                        https://reviews.example/categories/intelligent-document-processing
                    - name: Document AI
                      url: https://analyst.example/document-ai
                  buyer_groups:
                    - Lenders
                    - Insurers
                  links:
                    - kind: naics
                      value: '513210'
                      evidence: https://www.census.gov/naics/?input=513210
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 2
                  maxLength: 120
                  description: 'The market''s name: Intelligent Document Processing'
                sells:
                  type: string
                  minLength: 3
                  maxLength: 300
                  description: >-
                    What's sold, in a line: software that reads documents and
                    returns their fields
                buyers:
                  type: string
                  minLength: 3
                  maxLength: 300
                  description: >-
                    To whom, in a line: lenders, insurers and operations teams
                    that handle documents at volume
                names:
                  type: array
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                        minLength: 2
                        maxLength: 80
                      url:
                        type: string
                        maxLength: 2000
                        pattern: ^https?:\/\/\S+$
                        description: >-
                          The page that calls it this: a vendor's site, a review
                          site's category, an analyst's
                    required:
                      - name
                      - url
                    additionalProperties: false
                  minItems: 1
                  maxItems: 8
                  description: >-
                    The names the market goes by, each with the page that uses
                    it
                buyer_groups:
                  type: array
                  items:
                    type: string
                    minLength: 2
                    maxLength: 60
                  maxItems: 12
                  description: Who buys it, such as lenders or insurers
                links:
                  type: array
                  items:
                    type: object
                    properties:
                      kind:
                        type: string
                        minLength: 1
                        maxLength: 40
                        description: >-
                          `naics`, an industry code, or `reddit_subreddit`, a
                          Reddit community. A market holds no other kind
                      value:
                        type: string
                        minLength: 1
                        maxLength: 200
                        description: >-
                          As the kind writes it: 518210, or documentAI for
                          r/documentAI
                      evidence:
                        type: string
                        maxLength: 2000
                        pattern: ^https?:\/\/\S+$
                        description: >-
                          The page that shows it belongs to the market: the
                          Census Bureau’s definition of the code, the
                          community’s own page
                    required:
                      - kind
                      - value
                      - evidence
                    additionalProperties: false
                  maxItems: 20
                  description: >-
                    The market's industry codes and Reddit communities, each
                    with its page
              required:
                - name
              additionalProperties: false
      responses:
        '200':
          description: 'The team holds a market of that name already: as it stands'
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  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
                      set_at:
                        type: string
                    required:
                      - sells
                      - buyers
                      - names
                      - buyer_groups
                      - set_at
                  links:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        kind:
                          type: string
                          enum:
                            - naics
                            - reddit_subreddit
                        value:
                          type: string
                        evidence:
                          type:
                            - string
                            - 'null'
                      required:
                        - id
                        - kind
                        - value
                        - evidence
                  players:
                    type: object
                    properties:
                      confirmed:
                        type: number
                      proposed:
                        type: number
                      struck:
                        type: number
                      cap:
                        type: number
                    required:
                      - confirmed
                      - proposed
                      - struck
                      - cap
                  reports:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        title:
                          type: string
                        status:
                          type: string
                          enum:
                            - draft
                            - checked
                        updated_at:
                          type: string
                      required:
                        - id
                        - title
                        - status
                        - updated_at
                  added_at:
                    type: string
                  read:
                    type: object
                    properties:
                      asked_at:
                        type:
                          - string
                          - 'null'
                      until:
                        type:
                          - string
                          - 'null'
                      again:
                        type: boolean
                      queued:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            name:
                              type: string
                          required:
                            - id
                            - name
                      waiting:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            name:
                              type: string
                            needs:
                              type: array
                              items:
                                type: string
                          required:
                            - id
                            - name
                            - needs
                      why:
                        type:
                          - string
                          - 'null'
                    required:
                      - asked_at
                      - until
                      - again
                      - queued
                      - waiting
                      - why
                required:
                  - id
                  - name
                  - definition
                  - links
                  - players
                  - reports
                  - added_at
                  - read
        '201':
          description: Added
          content:
            application/json:
              examples:
                made-up:
                  summary: 'Made up: no team’s data'
                  value:
                    id: mkt_01JD3X7Q2W8E5R4T6Y9V0K1M2P
                    name: Intelligent Document Processing
                    definition:
                      sells: >-
                        Software that reads documents and returns their fields,
                        by API or in an app
                      buyers: >-
                        Lenders, insurers and operations teams that handle
                        documents at volume
                      names:
                        - name: Intelligent Document Processing
                          url: >-
                            https://reviews.example/categories/intelligent-document-processing
                        - name: Document AI
                          url: https://analyst.example/document-ai
                      buyer_groups:
                        - Lenders
                        - Insurers
                      set_at: '2026-11-26T15:00:00.000Z'
                    links:
                      - id: cln_01JD3X7Q2W8E5R4T6Y9V0K1M2Q
                        kind: naics
                        value: '513210'
                        evidence: https://www.census.gov/naics/?input=513210
                    players:
                      confirmed: 0
                      proposed: 0
                      struck: 0
                      cap: 20
                    reports: []
                    added_at: '2026-11-26T15:00:00.000Z'
                    read:
                      asked_at: '2026-11-26T15:00:00.000Z'
                      until: '2026-11-27T15:00:00.000Z'
                      again: false
                      queued:
                        - id: google-trends
                          name: Google Trends
                      waiting:
                        - id: reddit
                          name: Reddit
                          needs:
                            - search_term
                            - reddit_subreddit
                      why: null
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  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
                      set_at:
                        type: string
                    required:
                      - sells
                      - buyers
                      - names
                      - buyer_groups
                      - set_at
                  links:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        kind:
                          type: string
                          enum:
                            - naics
                            - reddit_subreddit
                        value:
                          type: string
                        evidence:
                          type:
                            - string
                            - 'null'
                      required:
                        - id
                        - kind
                        - value
                        - evidence
                  players:
                    type: object
                    properties:
                      confirmed:
                        type: number
                      proposed:
                        type: number
                      struck:
                        type: number
                      cap:
                        type: number
                    required:
                      - confirmed
                      - proposed
                      - struck
                      - cap
                  reports:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        title:
                          type: string
                        status:
                          type: string
                          enum:
                            - draft
                            - checked
                        updated_at:
                          type: string
                      required:
                        - id
                        - title
                        - status
                        - updated_at
                  added_at:
                    type: string
                  read:
                    type: object
                    properties:
                      asked_at:
                        type:
                          - string
                          - 'null'
                      until:
                        type:
                          - string
                          - 'null'
                      again:
                        type: boolean
                      queued:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            name:
                              type: string
                          required:
                            - id
                            - name
                      waiting:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            name:
                              type: string
                            needs:
                              type: array
                              items:
                                type: string
                          required:
                            - id
                            - name
                            - needs
                      why:
                        type:
                          - string
                          - 'null'
                    required:
                      - asked_at
                      - until
                      - again
                      - queued
                      - waiting
                      - why
                required:
                  - id
                  - name
                  - definition
                  - links
                  - players
                  - reports
                  - added_at
                  - read
        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' \
              -H "Authorization: Bearer $PODDATA_API_KEY" \
              -H 'Content-Type: application/json' \
              -d '{"name":"Intelligent Document Processing","sells":"Software that reads documents and returns their fields, by API or in an app","buyers":"Lenders, insurers and operations teams that handle documents at volume","names":[{"name":"Intelligent Document Processing","url":"https://reviews.example/categories/intelligent-document-processing"},{"name":"Document AI","url":"https://analyst.example/document-ai"}],"buyer_groups":["Lenders","Insurers"],"links":[{"kind":"naics","value":"513210","evidence":"https://www.census.gov/naics/?input=513210"}]}'
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.