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

# A target's market: its size as each research firm gives it, where each analyst's list places it and each confirmed rival, and what it's called

> What a target's category is, as others say it, from what two readers keep: its size as each research firm's own free release gives it (`section=size`), a row a figure with its firm, the year it's for, its scope in the firm's own words and how that sits against the category, never merged, averaged or converted, the lowest and highest of the category's own sizes and its parts' as figures, a wider market's a row counted in none; where each analyst's list places the target and each confirmed rival (`section=placements`), a grid of a row a company and a column a list, each cell the vendor's own words, a company with none named in `basis.left_out` with whether its site was read, never read as not placed; and what the market is called (`section=names`), each name with its page and how many of the companies' own pages use it. All three if left out. Asked for a market at `/markets/{market}/numbers/category`, its players stand where the companies do. With `format=csv` its rows are a file under its columns, a number a cell, and with `format=csv&part=figures` its named figures are, a row each: counts and shares, never a review's words. Its MCP tool answers the JSON only, since no tool hands over a file.

**Before:** The company is one of your team's targets, or any company `/companies/{id}` takes. A review or record counts only where a link a person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`), and a rival only once it's confirmed: `find_rivals` takes one its test allows, and a person confirms the rest (`POST /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST /targets/{company}/read` if coverage says a source hasn't been read.

**Next:** Put it in a report as an exhibit, `{"numbers": "category", "company": "…", "params": {…}}` with these arguments as its params, through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in the page's copy as `{exhibit-id.figure_name}`: the report fills it each time it's read. Or save the rows with `format=csv`.

**Limits:** One `api` call, as JSON or as a file. At most 200 of the ids behind the figures are listed in `evidence`, and `evidence.more` says how many aren't. Under 30 reviews a figure is `small` and comes with how many it rests on. `part` without `format=csv` is a `400`.

**MCP tool:** `numbers_category`, 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 get /companies/{id}/numbers/category
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:
  /companies/{id}/numbers/category:
    get:
      tags:
        - Number tools
      summary: >-
        A target's market: its size as each research firm gives it, where each
        analyst's list places it and each confirmed rival, and what it's called
      description: >-
        What a target's category is, as others say it, from what two readers
        keep: its size as each research firm's own free release gives it
        (`section=size`), a row a figure with its firm, the year it's for, its
        scope in the firm's own words and how that sits against the category,
        never merged, averaged or converted, the lowest and highest of the
        category's own sizes and its parts' as figures, a wider market's a row
        counted in none; where each analyst's list places the target and each
        confirmed rival (`section=placements`), a grid of a row a company and a
        column a list, each cell the vendor's own words, a company with none
        named in `basis.left_out` with whether its site was read, never read as
        not placed; and what the market is called (`section=names`), each name
        with its page and how many of the companies' own pages use it. All three
        if left out. Asked for a market at `/markets/{market}/numbers/category`,
        its players stand where the companies do. With `format=csv` its rows are
        a file under its columns, a number a cell, and with
        `format=csv&part=figures` its named figures are, a row each: counts and
        shares, never a review's words. Its MCP tool answers the JSON only,
        since no tool hands over a file.


        **Before:** The company is one of your team's targets, or any company
        `/companies/{id}` takes. A review or record counts only where a link a
        person confirmed ties it (`POST /companies/{id}/links/{link}/confirm`),
        and a rival only once it's confirmed: `find_rivals` takes one its test
        allows, and a person confirms the rest (`POST
        /companies/{id}/rivals/{rival}/confirm`). Ask for a read with `POST
        /targets/{company}/read` if coverage says a source hasn't been read.


        **Next:** Put it in a report as an exhibit, `{"numbers": "category",
        "company": "…", "params": {…}}` with these arguments as its params,
        through `PUT /diligence-reports/{id}/pages/{page}`, and cite a figure in
        the page's copy as `{exhibit-id.figure_name}`: the report fills it each
        time it's read. Or save the rows with `format=csv`.


        **Limits:** One `api` call, as JSON or as a file. At most 200 of the ids
        behind the figures are listed in `evidence`, and `evidence.more` says
        how many aren't. Under 30 reviews a figure is `small` and comes with how
        many it rests on. `part` without `format=csv` is a `400`.
      operationId: numbersCategory
      parameters:
        - schema:
            type: string
            maxLength: 64
          required: true
          name: id
          in: path
        - schema:
            type: string
            enum:
              - size
              - placements
              - names
            description: >-
              Keep one part: size, a row each research firm's figure, never
              merged; placements, a row each player or company and a column each
              analyst's list; or names, what the market is called and by whom.
              All three if left out
          required: false
          description: >-
            Keep one part: size, a row each research firm's figure, never
            merged; placements, a row each player or company and a column each
            analyst's list; or names, what the market is called and by whom. All
            three if left out
          name: section
          in: query
        - schema:
            type: string
            minLength: 1
            maxLength: 200
            description: >-
              One row of the answer, by its key: the evidence then lists every
              item behind that row, up to 200, and says how many more. A key the
              answer has no row for is a 400
            example: '5'
          required: false
          description: >-
            One row of the answer, by its key: the evidence then lists every
            item behind that row, up to 200, and says how many more. A key the
            answer has no row for is a 400
          name: row
          in: query
        - schema:
            type: string
            enum:
              - json
              - csv
            description: >-
              csv: the answer as a file, its rows under its columns, or with
              part=figures its named figures. json: the answer, the default
            example: csv
          required: false
          description: >-
            csv: the answer as a file, its rows under its columns, or with
            part=figures its named figures. json: the answer, the default
          name: format
          in: query
        - schema:
            type: string
            enum:
              - rows
              - figures
            description: >-
              With format=csv: rows (the default), the table behind the chart, a
              row each with a column for each of its columns; or figures, a row
              each with its label, value, unit, company, n and interval
            example: figures
          required: false
          description: >-
            With format=csv: rows (the default), the table behind the chart, a
            row each with a column for each of its columns; or figures, a row
            each with its label, value, unit, company, n and interval
          name: part
          in: query
      responses:
        '200':
          description: A row a size, a company's placements or a name
          content:
            application/json:
              examples:
                made-up:
                  summary: 'Made up: no team’s data'
                  value:
                    numbers: category
                    company:
                      id: northwind-dental
                      name: Northwind Dental
                    params:
                      section: size
                    figures:
                      - name: sizes
                        label: >-
                          Sizes of Northwind Dental's market a research firm's
                          own release gives
                        value: 2
                        unit: count
                        company: northwind-dental
                        'n': 2
                        small: false
                        interval: null
                      - name: size_low
                        label: >-
                          The lowest size in dollars, Example Research's 2025
                          estimate
                        value: 1200000000
                        unit: usd
                        company: northwind-dental
                        'n': 2
                        small: false
                        interval: null
                    columns:
                      - name: usd
                        label: Size in dollars, as the firm gives it
                        unit: usd
                      - name: year_for
                        label: The year it is for
                        unit: number
                    rows:
                      - key: rec_01EXAMPLE00000000000000021
                        label: >-
                          Example Research's 2025 estimate: dental support
                          organizations
                        kind: event
                        company: northwind-dental
                        values:
                          usd: 1200000000
                          year_for: 2025
                        small: false
                        day: '2026-03-02'
                        source: market-sizes
                        category: size
                        url: https://research.example/dso-market
                        was: null
                    evidence:
                      items:
                        - kind: signal
                          id: sig_01EXAMPLE00000000000000001
                          source: market-sizes
                          company: northwind-dental
                          link: cln_01EXAMPLE00000000000000001
                          day: '2026-10-02'
                          url: https://maps.example/reviews/1
                          row: rec_01EXAMPLE00000000000000021
                          rating: null
                          text: null
                      total: 412
                      more: 411
                    basis:
                      sources:
                        - id: market-sizes
                          name: Market sizes from research firms' releases
                          network: market-sizes
                      independent: 1
                      window:
                        from: '2025-11-17'
                        to: '2026-11-16'
                      compare: null
                      method: Made up for this example.
                      sample:
                        read: 412
                        of: 1180
                        from: '2023-02-01'
                        to: '2026-11-16'
                        days: 1385
                        undated: 0
                      breaks: []
                      periods: null
                      left_out: []
                      caveats: []
                    computed_at: '2026-11-17T14:00:00.000Z'
              schema:
                type: object
                properties:
                  numbers:
                    type: string
                    enum:
                      - rating
                      - rating_by_link
                      - rating_rivals
                      - rating_windows
                      - complaints
                      - series
                      - timeline
                      - ads
                      - ads_weeks
                      - site
                      - site_changes
                      - figures
                      - profile
                      - risks
                      - market
                      - funding
                      - interest
                      - social
                      - videos
                      - rating_periods
                      - query
                      - players
                      - category
                  company:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                    required:
                      - id
                      - name
                  market:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                    required:
                      - id
                      - name
                  params:
                    type: object
                    additionalProperties: {}
                  figures:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                          maxLength: 60
                          pattern: ^[a-z][a-z0-9_]*$
                        label:
                          type: string
                        value:
                          type:
                            - number
                            - 'null'
                        unit:
                          type: string
                          enum:
                            - count
                            - stars
                            - share
                            - usd
                            - days
                            - number
                        company:
                          type:
                            - string
                            - 'null'
                        'n':
                          type:
                            - integer
                            - 'null'
                        small:
                          type: boolean
                        interval:
                          type:
                            - object
                            - 'null'
                          properties:
                            low:
                              type: number
                            high:
                              type: number
                          required:
                            - low
                            - high
                      required:
                        - name
                        - label
                        - value
                        - unit
                        - company
                        - 'n'
                        - small
                        - interval
                  columns:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                          maxLength: 60
                          pattern: ^[a-z][a-z0-9_]*$
                        label:
                          type: string
                        unit:
                          type: string
                          enum:
                            - count
                            - stars
                            - share
                            - usd
                            - days
                            - number
                      required:
                        - name
                        - label
                        - unit
                  word_columns:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                          maxLength: 60
                          pattern: ^[a-z][a-z0-9_]*$
                        label:
                          type: string
                      required:
                        - name
                        - label
                  rows:
                    type: array
                    items:
                      type: object
                      properties:
                        key:
                          type: string
                        label:
                          type: string
                        kind:
                          type: string
                          enum:
                            - company
                            - link
                            - star
                            - period
                            - topic
                            - event
                            - review
                        company:
                          type:
                            - string
                            - 'null'
                        values:
                          type: object
                          additionalProperties:
                            type:
                              - number
                              - 'null'
                        small:
                          type: boolean
                        day:
                          type:
                            - string
                            - 'null'
                        source:
                          type:
                            - string
                            - 'null'
                        category:
                          type:
                            - string
                            - 'null'
                        url:
                          type:
                            - string
                            - 'null'
                        was:
                          type:
                            - array
                            - 'null'
                          items:
                            type: object
                            properties:
                              label:
                                type: string
                              values:
                                type: object
                                additionalProperties:
                                  type:
                                    - number
                                    - 'null'
                              day:
                                type:
                                  - string
                                  - 'null'
                              seen_from:
                                type: string
                              seen_to:
                                type: string
                            required:
                              - label
                              - values
                              - day
                              - seen_from
                              - seen_to
                        words:
                          type: object
                          additionalProperties:
                            type:
                              - string
                              - 'null'
                        marks:
                          type: array
                          items:
                            type: integer
                            minimum: 0
                      required:
                        - key
                        - label
                        - kind
                        - company
                        - values
                        - small
                        - day
                        - source
                        - category
                        - url
                        - was
                  evidence:
                    type: object
                    properties:
                      items:
                        type: array
                        items:
                          type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - signal
                                - record
                                - document
                                - quote
                                - snapshot
                            id:
                              type: string
                            source:
                              type: string
                            company:
                              type:
                                - string
                                - 'null'
                            link:
                              type:
                                - string
                                - 'null'
                            day:
                              type:
                                - string
                                - 'null'
                            url:
                              type:
                                - string
                                - 'null'
                            row:
                              type:
                                - string
                                - 'null'
                            column:
                              type: string
                            rating:
                              type:
                                - number
                                - 'null'
                            text:
                              type:
                                - string
                                - 'null'
                            found_by:
                              type: string
                            facts:
                              type: array
                              items:
                                type: object
                                properties:
                                  label:
                                    type: string
                                  line:
                                    type:
                                      - string
                                      - 'null'
                                  concept:
                                    type: string
                                  axis:
                                    type:
                                      - string
                                      - 'null'
                                  member:
                                    type:
                                      - string
                                      - 'null'
                                  start_on:
                                    type:
                                      - string
                                      - 'null'
                                  end_on:
                                    type: string
                                  value:
                                    type: number
                                  worked_from:
                                    type:
                                      - array
                                      - 'null'
                                    items:
                                      type: object
                                      properties:
                                        label:
                                          type: string
                                        line:
                                          type:
                                            - string
                                            - 'null'
                                        concept:
                                          type: string
                                        axis:
                                          type:
                                            - string
                                            - 'null'
                                        member:
                                          type:
                                            - string
                                            - 'null'
                                        start_on:
                                          type:
                                            - string
                                            - 'null'
                                        end_on:
                                          type: string
                                        value:
                                          type: number
                                        document:
                                          type:
                                            - string
                                            - 'null'
                                        url:
                                          type: string
                                        form:
                                          type: string
                                        filed_on:
                                          type: string
                                      required:
                                        - label
                                        - line
                                        - concept
                                        - axis
                                        - member
                                        - start_on
                                        - end_on
                                        - value
                                        - document
                                        - url
                                        - form
                                        - filed_on
                                required:
                                  - label
                                  - line
                                  - concept
                                  - axis
                                  - member
                                  - start_on
                                  - end_on
                                  - value
                                  - worked_from
                            document:
                              type:
                                - string
                                - 'null'
                          required:
                            - kind
                            - id
                            - source
                            - company
                            - link
                            - day
                            - url
                            - row
                            - rating
                            - text
                        maxItems: 200
                      total:
                        type: integer
                      more:
                        type: integer
                    required:
                      - items
                      - total
                      - more
                  basis:
                    type: object
                    properties:
                      sources:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            name:
                              type: string
                            network:
                              type: string
                            read:
                              type: integer
                            from:
                              type:
                                - string
                                - 'null'
                            to:
                              type:
                                - string
                                - 'null'
                            total:
                              type:
                                - integer
                                - 'null'
                            rating:
                              type:
                                - number
                                - 'null'
                            url:
                              type:
                                - string
                                - 'null'
                            held:
                              type: integer
                            held_from:
                              type:
                                - string
                                - 'null'
                            held_to:
                              type:
                                - string
                                - 'null'
                            listings:
                              type: array
                              items:
                                type: object
                                properties:
                                  company:
                                    type: string
                                  label:
                                    type: string
                                  link:
                                    type:
                                      - string
                                      - 'null'
                                  read:
                                    type: integer
                                  from:
                                    type:
                                      - string
                                      - 'null'
                                  to:
                                    type:
                                      - string
                                      - 'null'
                                  total:
                                    type:
                                      - integer
                                      - 'null'
                                  rating:
                                    type:
                                      - number
                                      - 'null'
                                  url:
                                    type:
                                      - string
                                      - 'null'
                                  held:
                                    type: integer
                                  held_from:
                                    type:
                                      - string
                                      - 'null'
                                  held_to:
                                    type:
                                      - string
                                      - 'null'
                                  reads_from:
                                    type:
                                      - string
                                      - 'null'
                                  routes:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        route:
                                          type:
                                            - string
                                            - 'null'
                                        found_by:
                                          type:
                                            - string
                                            - 'null'
                                        'n':
                                          type: integer
                                        filter:
                                          type:
                                            - string
                                            - 'null'
                                      required:
                                        - route
                                        - found_by
                                        - 'n'
                                        - filter
                                  shop:
                                    type: object
                                    properties:
                                      store:
                                        type: string
                                      name:
                                        type:
                                          - string
                                          - 'null'
                                      item_words:
                                        type: string
                                      item:
                                        type: string
                                      read_on:
                                        type:
                                          - string
                                          - 'null'
                                      figures_on:
                                        type:
                                          - string
                                          - 'null'
                                      price_usd:
                                        type:
                                          - number
                                          - 'null'
                                      price_low_90d:
                                        type:
                                          - number
                                          - 'null'
                                      price_high_90d:
                                        type:
                                          - number
                                          - 'null'
                                      bought_past_month:
                                        type:
                                          - number
                                          - 'null'
                                      sales_rank:
                                        type:
                                          - number
                                          - 'null'
                                      sales_rank_best_90d:
                                        type:
                                          - number
                                          - 'null'
                                      written_reviews:
                                        type:
                                          - number
                                          - 'null'
                                    required:
                                      - store
                                      - name
                                      - item_words
                                      - item
                                      - read_on
                                      - figures_on
                                      - price_usd
                                      - price_low_90d
                                      - price_high_90d
                                      - bought_past_month
                                      - sales_rank
                                      - sales_rank_best_90d
                                      - written_reviews
                                required:
                                  - company
                                  - label
                                  - link
                                  - read
                                  - from
                                  - to
                                  - total
                                  - rating
                                  - url
                          required:
                            - id
                            - name
                            - network
                      independent:
                        type: integer
                      window:
                        type:
                          - object
                          - 'null'
                        properties:
                          from:
                            type: string
                          to:
                            type: string
                        required:
                          - from
                          - to
                      compare:
                        type:
                          - object
                          - 'null'
                        properties:
                          from:
                            type: string
                          to:
                            type: string
                        required:
                          - from
                          - to
                      method:
                        type: string
                      sample:
                        type: object
                        properties:
                          read:
                            type: integer
                          of:
                            type:
                              - integer
                              - 'null'
                          from:
                            type:
                              - string
                              - 'null'
                          to:
                            type:
                              - string
                              - 'null'
                          days:
                            type: integer
                          undated:
                            type: integer
                        required:
                          - read
                          - of
                          - from
                          - to
                          - days
                          - undated
                      breaks:
                        type: array
                        items:
                          type: object
                          properties:
                            sources:
                              type: array
                              items:
                                type: string
                            from:
                              type: string
                            to:
                              type:
                                - string
                                - 'null'
                            approximate:
                              type: boolean
                            effect:
                              type: string
                              enum:
                                - mark
                                - mask
                            what:
                              type: string
                            url:
                              type: string
                          required:
                            - sources
                            - from
                            - to
                            - approximate
                            - effect
                            - what
                            - url
                      periods:
                        type:
                          - object
                          - 'null'
                        properties:
                          has:
                            type: array
                            items:
                              type: string
                          lacks:
                            type: array
                            items:
                              type: string
                        required:
                          - has
                          - lacks
                      left_out:
                        type: array
                        items:
                          type: object
                          properties:
                            what:
                              type: string
                            count:
                              type: integer
                            why:
                              type: string
                          required:
                            - what
                            - count
                            - why
                      caveats:
                        type: array
                        items:
                          type: string
                    required:
                      - sources
                      - independent
                      - window
                      - compare
                      - method
                      - sample
                      - breaks
                      - periods
                      - left_out
                      - caveats
                  choices:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        label:
                          type: string
                        options:
                          type: array
                          items:
                            type: object
                            properties:
                              value:
                                type: string
                              label:
                                type: string
                              params:
                                type: object
                                additionalProperties:
                                  type: string
                              unset:
                                type: array
                                items:
                                  type: string
                            required:
                              - value
                              - label
                              - params
                        selected:
                          type:
                            - string
                            - 'null'
                      required:
                        - name
                        - label
                        - options
                        - selected
                  computed_at:
                    type: string
                required:
                  - numbers
                  - params
                  - figures
                  - columns
                  - rows
                  - evidence
                  - basis
                  - computed_at
            text/csv:
              example: "\"name\",\"label\",\"value\",\"unit\",\"company\",\"n\",\"small\",\"interval_low\",\"interval_high\"\r\n\"average\",\"Average rating, made up for this example\",\"4.1\",\"stars\",\"northwind-dental\",\"412\",\"no\",\"3.9\",\"4.3\"\r\n"
              schema:
                type: string
                description: >-
                  With format=csv: the answer's rows under its columns, or with
                  part=figures its figures, as a file
        default:
          description: An error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      x-codeSamples:
        - lang: bash
          label: curl, made-up values
          source: >-
            curl
            'https://api.poddata.ai/v1/companies/northwind-dental/numbers/category?section=size'
            \
              -H "Authorization: Bearer $PODDATA_API_KEY"
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.