MarketHQ API

MarketHQ API as documented publicly: 28 operations. Contract generated from the documentation by API Evangelist (2026-11-18); not the provider's own document.

GitHub OpenAPI

Operations 28

GET /agent-brief One call: what's urgent, what to do next, who to talk to — buyers-only by default. #
GET /ai-visibility Current-week AI-answer-engine visibility share vs. tracked competitors. #
GET /api/v1/agent-brief One call: what's urgent, what to do next, who to talk to — buyers-only by default. #
GET /api/v1/ai-visibility Current-week AI-answer-engine visibility share vs. tracked competitors. #
GET /api/v1/content-opportunities Questions buyers, Google and AI engines ask in your category, and keywords you can rank for — each with the evidence behind it and a deterministic id. #
POST /api/v1/content-outline POST /api/v1/content-outline #
GET /api/v1/gaps The latest weekly gap analysis + action plan (404 until the first weekly report has run). #
GET /api/v1/intelligence Prioritized themes ranked by volume across four levers (acquisition, retention, learning, advocacy), per brand, in a date window. #
GET /api/v1/keyword-gaps Competitor pages you're missing: pages that rank for your tracked keywords while you don't, whether that's a competitor's own page, a list that names one, or another site outrankin #
GET /api/v1/listicles Which list-format pages rank top-10 for your tracked category keywords, which the week's AI answers cite, whether you're listed, and the ranked "get listed here" action list. #
GET /api/v1/mentions Collected mentions (public communities like Hacker News, GitHub and Stack Overflow, blogs and feeds, plus social and web sources on paid plans), newest first. #
POST /api/v1/mentions POST /api/v1/mentions #
POST /api/v1/outcomes POST /api/v1/outcomes #
GET /api/v1/signals Derived opportunity/revenue/risk/mention signals, newest-derived first. #
GET /api/v1/tasks Actionable tasks, each with a playbook (concrete steps, a done check, expected impact), priority first. #
POST /api/v1/tasks/{id} POST /api/v1/tasks/{id} #
GET /content-opportunities Questions buyers, Google and AI engines ask in your category, and keywords you can rank for — each with the evidence behind it and a deterministic id. #
POST /content-outline A ready-to-write outline (title, angle, target keyword, audience, sections, FAQ, evidence to cite, CTA) for one content opportunity from GET /content-opportunities. #
GET /gaps The latest weekly gap analysis + action plan (404 until the first weekly report has run). #
GET /intelligence Prioritized themes ranked by volume across four levers (acquisition, retention, learning, advocacy), per brand, in a date window. #
GET /keyword-gaps Competitor pages you're missing: pages that rank for your tracked keywords while you don't, whether that's a competitor's own page, a list that names one, or another site outrankin #
GET /listicles Which list-format pages rank top-10 for your tracked category keywords, which the week's AI answers cite, whether you're listed, and the ranked "get listed here" action list. #
GET /mentions Collected mentions (public communities like Hacker News, GitHub and Stack Overflow, blogs and feeds, plus social and web sources on paid plans), newest first. #
POST /outcomes Report what happened after acting on a surfaced opportunity or action. #
GET /signals Derived opportunity/revenue/risk/mention signals, newest-derived first. #
GET /tasks Actionable tasks, each with a playbook (concrete steps, a done check, expected impact), priority first. #
GET /tasks/{id} Full detail for one task: its playbook and up to three pieces of evidence. #
POST /tasks/{id}/claim Claim a task so a teammate (human or agent) doesn't duplicate the work. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/markethq-ai:markethq-ai-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

markethq-ai-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: MarketHQ API
  version: '2026-11-18'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-18: 28 operation(s) read from 2 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; MarketHQ has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 5
    documentation: 23
    pages-with-code: 2
    pages-read: 2
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-18'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://markethq.ai/docs
  - https://markethq.ai/llms.txt
paths:
  /agent-brief:
    get:
      operationId: get_agent_brief
      tags:
      - Agent Brief
      summary: 'One call: what''s urgent, what to do next, who to talk to — buyers-only by default.'
      x-source: https://markethq.ai/docs
      parameters:
      - name: includePeers
        in: query
        required: false
        schema:
          type: string
      - name: since
        in: query
        required: false
        schema:
          type: string
      - name: cursor
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /ai-visibility:
    get:
      operationId: get_ai_visibility
      tags:
      - Ai Visibility
      summary: Current-week AI-answer-engine visibility share vs. tracked competitors.
      x-source: https://markethq.ai/docs
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/agent-brief:
    get:
      operationId: get_api_v1_agent_brief
      tags:
      - Api
      summary: 'One call: what''s urgent, what to do next, who to talk to — buyers-only by default.'
      x-source: https://markethq.ai/docs
      parameters:
      - name: includePeers
        in: query
        required: false
        schema:
          type: boolean
      - name: since
        in: query
        required: false
        schema:
          type: string
      - name: cursor
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/ai-visibility:
    get:
      operationId: get_api_v1_ai_visibility
      tags:
      - Api
      summary: Current-week AI-answer-engine visibility share vs. tracked competitors.
      x-source: https://markethq.ai/docs
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/content-opportunities:
    get:
      operationId: get_api_v1_content_opportunities
      tags:
      - Api
      summary: Questions buyers, Google and AI engines ask in your category, and keywords you can rank for — each with the evidence behind it
        and a deterministic id.
      x-source: https://markethq.ai/docs
      parameters:
      - name: kind
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/content-outline:
    post:
      operationId: post_api_v1_content_outline
      tags:
      - Api
      summary: POST /api/v1/content-outline
      x-source: https://markethq.ai/llms.txt
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1ContentOutlineRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST "https://markethq.ai/api/v1/content-outline" -H "Authorization: Bearer <YOUR_API_KEY>" -H "Content-Type: application/json"
          -d ''{"id":"<OPPORTUNITY_ID>"}'''
  /api/v1/gaps:
    get:
      operationId: get_api_v1_gaps
      tags:
      - Api
      summary: The latest weekly gap analysis + action plan (404 until the first weekly report has run).
      x-source: https://markethq.ai/docs
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/intelligence:
    get:
      operationId: get_api_v1_intelligence
      tags:
      - Api
      summary: Prioritized themes ranked by volume across four levers (acquisition, retention, learning, advocacy), per brand, in a date window.
      x-source: https://markethq.ai/docs
      parameters:
      - name: dateFrom
        in: query
        required: false
        schema:
          type: string
      - name: dateTo
        in: query
        required: false
        schema:
          type: string
      - name: brand
        in: query
        required: false
        schema:
          type: string
      - name: category
        in: query
        required: false
        schema:
          type: string
      - name: levers
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      - name: grouped
        in: query
        required: false
        schema:
          type: boolean
      - name: clustered
        in: query
        required: false
        schema:
          type: boolean
      - name: since
        in: query
        required: false
        schema:
          type: string
      - name: cursor
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/keyword-gaps:
    get:
      operationId: get_api_v1_keyword_gaps
      tags:
      - Api
      summary: 'Competitor pages you''re missing: pages that rank for your tracked keywords while you don''t, whether that''s a competitor''s
        own page, a list that names one, or another site outranking you.'
      x-source: https://markethq.ai/docs
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: string
        description: Maximum number of results to return.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/listicles:
    get:
      operationId: get_api_v1_listicles
      tags:
      - Api
      summary: Which list-format pages rank top-10 for your tracked category keywords, which the week's AI answers cite, whether you're listed,
        and the ranked "get listed here" action list.
      x-source: https://markethq.ai/docs
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/mentions:
    get:
      operationId: get_api_v1_mentions
      tags:
      - Api
      summary: Collected mentions (public communities like Hacker News, GitHub and Stack Overflow, blogs and feeds, plus social and web sources
        on paid plans), newest first.
      x-source: https://markethq.ai/docs
      parameters:
      - name: source
        in: query
        required: false
        schema:
          type: string
      - name: days
        in: query
        required: false
        schema:
          type: integer
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      - name: since
        in: query
        required: false
        schema:
          type: string
      - name: cursor
        in: query
        required: false
        schema:
          type: string
      - name: includeNoise
        in: query
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_api_v1_mentions
      tags:
      - Api
      summary: POST /api/v1/mentions
      x-source: https://markethq.ai/docs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1MentionsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl "https://markethq.ai/api/v1/mentions"  -H "Authorization: Bearer <YOUR_API_KEY>" GET /signals ?signal=&days=&limit=&since=&cursor=&includeNoise=
          Derived opportunity/revenue/risk/mention signals, newest-derived first. signal=noise rows are excluded by default — pass signal=noise
          explicitly or includeNoise=true to include them. Copy curl "https://markethq.ai/api/v1/signals"  -H "Authorization: '
  /api/v1/outcomes:
    post:
      operationId: post_api_v1_outcomes
      tags:
      - Api
      summary: POST /api/v1/outcomes
      x-source: https://markethq.ai/llms.txt
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1OutcomesRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST "https://markethq.ai/api/v1/outcomes" -H "Authorization: Bearer <YOUR_API_KEY>" -H "Content-Type: application/json"
          -d ''{"actionId":"<ACTION_ID>","stage":"closed_won","amountUsd":4800}''

          - POST /tasks/:id/claim — Claim a task so a teammate (human or agent) doesn''t duplicate the work. Race-safe: the same agentName re-claiming
          is a no-op success; a different agentName on an already-claim'
  /api/v1/signals:
    get:
      operationId: get_api_v1_signals
      tags:
      - Api
      summary: Derived opportunity/revenue/risk/mention signals, newest-derived first.
      x-source: https://markethq.ai/docs
      parameters:
      - name: signal
        in: query
        required: false
        schema:
          type: string
      - name: days
        in: query
        required: false
        schema:
          type: integer
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      - name: since
        in: query
        required: false
        schema:
          type: string
      - name: cursor
        in: query
        required: false
        schema:
          type: string
      - name: includeNoise
        in: query
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/tasks:
    get:
      operationId: get_api_v1_tasks
      tags:
      - Api
      summary: Actionable tasks, each with a playbook (concrete steps, a done check, expected impact), priority first.
      x-source: https://markethq.ai/docs
      parameters:
      - name: status
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      - name: cursor
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/tasks/{id}:
    post:
      operationId: post_api_v1_tasks_id
      tags:
      - Api
      summary: POST /api/v1/tasks/{id}
      x-source: https://markethq.ai/llms.txt
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1TasksIdRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST "https://markethq.ai/api/v1/tasks/<ID>/claim" -H "Authorization: Bearer <YOUR_API_KEY>" -H "Content-Type: application/json"
          -d ''{"agentName":"<YOUR_AGENT_NAME>"}''

          - POST /content-outline — A ready-to-write outline (title, angle, target keyword, audience, sections, FAQ, evidence to cite, CTA) for
          one content opportunity from GET /content-opportunities. The first generation for a given '
  /content-opportunities:
    get:
      operationId: get_content_opportunities
      tags:
      - Content Opportunities
      summary: Questions buyers, Google and AI engines ask in your category, and keywords you can rank for — each with the evidence behind it
        and a deterministic id.
      x-source: https://markethq.ai/docs
      parameters:
      - name: kind
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /content-outline:
    post:
      operationId: post_content_outline
      tags:
      - Content Outline
      summary: A ready-to-write outline (title, angle, target keyword, audience, sections, FAQ, evidence to cite, CTA) for one content opportunity
        from GET /content-opportunities.
      x-source: https://markethq.ai/docs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostContentOutlineRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /gaps:
    get:
      operationId: get_gaps
      tags:
      - Gaps
      summary: The latest weekly gap analysis + action plan (404 until the first weekly report has run).
      x-source: https://markethq.ai/docs
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /intelligence:
    get:
      operationId: get_intelligence
      tags:
      - Intelligence
      summary: Prioritized themes ranked by volume across four levers (acquisition, retention, learning, advocacy), per brand, in a date window.
      x-source: https://markethq.ai/docs
      parameters:
      - name: dateFrom
        in: query
        required: false
        schema:
          type: string
      - name: dateTo
        in: query
        required: false
        schema:
          type: string
      - name: brand
        in: query
        required: false
        schema:
          type: string
      - name: category
        in: query
        required: false
        schema:
          type: string
      - name: levers
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: string
      - name: grouped
        in: query
        required: false
        schema:
          type: string
      - name: clustered
        in: query
        required: false
        schema:
          type: string
      - name: since
        in: query
        required: false
        schema:
          type: string
      - name: cursor
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /keyword-gaps:
    get:
      operationId: get_keyword_gaps
      tags:
      - Keyword Gaps
      summary: 'Competitor pages you''re missing: pages that rank for your tracked keywords while you don''t, whether that''s a competitor''s
        own page, a list that names one, or another site outranking you.'
      x-source: https://markethq.ai/docs
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /listicles:
    get:
      operationId: get_listicles
      tags:
      - Listicles
      summary: Which list-format pages rank top-10 for your tracked category keywords, which the week's AI answers cite, whether you're listed,
        and the ranked "get listed here" action list.
      x-source: https://markethq.ai/docs
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /mentions:
    get:
      operationId: get_mentions
      tags:
      - Mentions
      summary: Collected mentions (public communities like Hacker News, GitHub and Stack Overflow, blogs and feeds, plus social and web sources
        on paid plans), newest first.
      x-source: https://markethq.ai/docs
      parameters:
      - name: source
        in: query
        required: false
        schema:
          type: string
      - name: days
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: string
      - name: since
        in: query
        required: false
        schema:
          type: string
      - name: cursor
        in: query
        required: false
        schema:
          type: string
      - name: includeNoise
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /outcomes:
    post:
      operationId: post_outcomes
      tags:
      - Outcomes
      summary: Report what happened after acting on a surfaced opportunity or action.
      description: The REST twin of the MCP report_outcome tool.
      x-source: https://markethq.ai/docs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostOutcomesRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /signals:
    get:
      operationId: get_signals
      tags:
      - Signals
      summary: Derived opportunity/revenue/risk/mention signals, newest-derived first.
      x-source: https://markethq.ai/docs
      parameters:
      - name: signal
        in: query
        required: false
        schema:
          type: string
      - name: days
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: string
      - name: since
        in: query
        required: false
        schema:
          type: string
      - name: cursor
        in: query
        required: false
        schema:
          type: string
      - name: includeNoise
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /tasks:
    get:
      operationId: get_tasks
      tags:
      - Tasks
      summary: Actionable tasks, each with a playbook (concrete steps, a done check, expected impact), priority first.
      x-source: https://markethq.ai/docs
      parameters:
      - name: status
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: string
      - name: cursor
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /tasks/{id}:
    get:
      operationId: get_tasks_id
      tags:
      - Tasks
      summary: 'Full detail for one task: its playbook and up to three pieces of evidence.'
      x-source: https://markethq.ai/docs
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /tasks/{id}/claim:
    post:
      operationId: post_tasks_id_claim
      tags:
      - Tasks
      summary: Claim a task so a teammate (human or agent) doesn't duplicate the work.
      description: Race-safe claim; same agentName re-claiming is a no-op, different agentName on claimed task returns 409.
      x-source: https://markethq.ai/docs
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostTasksIdClaimRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    PostApiV1ContentOutlineRequest:
      type: object
      properties:
        id:
          type: string
    PostApiV1MentionsRequest:
      type: object
      properties:
        actionId:
          type: string
        stage:
          type: string
        amountUsd:
          type: integer
    PostApiV1OutcomesRequest:
      type: object
      properties:
        actionId:
          type: string
        stage:
          type: string
        amountUsd:
          type: integer
    PostApiV1TasksIdRequest:
      type: object
      properties:
        agentName:
          type: string
    PostContentOutlineRequest:
      type: object
      properties:
        id:
          type: string
      required:
      - id
    PostOutcomesRequest:
      type: object
      properties:
        actionId:
          type: string
        stage:
          type: string
        amountUsd:
          type: number
      required:
      - actionId
      - stage
    PostTasksIdClaimRequest:
      type: object
      properties:
        agentName:
          type: string
      required:
      - agentName
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Agent Brief
- name: Ai Visibility
- name: Api
- name: Content Opportunities
- name: Content Outline
- name: Gaps
- name: Intelligence
- name: Keyword Gaps
- name: Listicles
- name: Mentions
- name: Outcomes
- name: Signals
- name: Tasks