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/pineprompt-com:pineprompt-com-responses-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: 3.2.0
info:
title: Pineprompt Responses API
description: 'The Pineprompt REST API gives you programmatic access to everything Pineprompt monitors on your behalf: how ChatGPT, Gemini, Claude, Google AI Overview, and Google AI Mode answer questions about your brand. Grok is listed but temporarily unavailable.'
contact:
name: Pineprompt Support
email: support@pineprompt.com
version: 1.0.0
servers:
- url: https://pineprompt.com
description: Production
tags:
- name: Responses
description: A response is a single rendered answer from an AI platform to a single prompt on a single run. Each response captures the raw text, the platform that produced it, and the country and language the monitor was run in. Responses are read-only.
x-title: Responses
x-objects:
- Response
paths:
/api/v1/responses:
get:
tags:
- Responses
summary: List responses
description: Returns the AI responses collected in the active project, optionally filtered to a single prompt or to the responses that cite a given source URL. The response is paginated, with the newest returned first by default.
operationId: list-responses
parameters:
- $ref: '#/components/parameters/ProjectHeader'
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/PerPage'
- name: prompt_id
in: query
description: Limit results to responses belonging to a single prompt.
required: false
schema:
type: integer
example: 901
- name: source_url_id
in: query
description: Limit results to responses that cite the given source URL. A response qualifies when at least one of its citations points at that URL.
required: false
schema:
type: integer
example: 4471
- name: sort_by
in: query
description: The column to sort by. Defaults to `created_at`.
required: false
schema:
type: string
enum:
- created_at
- updated_at
- $ref: '#/components/parameters/SortOrder'
- $ref: '#/components/parameters/IncludeResponse'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ResponseList'
'400':
description: Missing project header
x-auto-injected: true
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
example:
message: Missing required header Pineprompt-Project-Id.
'401':
description: Unauthorized
x-auto-injected: true
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
example:
message: Unauthenticated.
'403':
description: Missing ability
x-auto-injected: true
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
example:
message: 'Missing ability: responses:read'
'404':
description: Project not in this organization
x-auto-injected: true
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
example:
message: Project not found.
'422':
description: Validation failed
x-auto-injected: true
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationErrorEnvelope'
example:
message: Invalid sort_by value.
errors:
sort_by:
- Invalid sort_by value.
security:
- BearerToken:
- responses:read
x-codeSamples:
- lang: bash
label: cURL
source: "curl -X GET https://pineprompt.com/api/v1/responses \\\n -H \"Authorization: Bearer $PINEPROMPT_TOKEN\" \\\n -H \"Pineprompt-Project-Id: 1\""
- lang: javascript
label: JavaScript (fetch)
source: "const response = await fetch(\"https://pineprompt.com/api/v1/responses\", {\n method: \"GET\",\n headers: {\n \"Authorization\": `Bearer ${process.env.PINEPROMPT_TOKEN}`,\n \"Pineprompt-Project-Id\": \"1\",\n },\n});\n\nif (!response.ok) throw new Error(`Request failed: ${response.status}`);\n\nconst payload = await response.json();"
- lang: python
label: Python (requests)
source: "import os\nimport requests\n\nresponse = requests.get(\n \"https://pineprompt.com/api/v1/responses\",\n headers={\n \"Authorization\": f\"Bearer {os.environ['PINEPROMPT_TOKEN']}\",\n \"Pineprompt-Project-Id\": \"1\",\n },\n)\n\nresponse.raise_for_status()\npayload = response.json()"
- lang: php
label: PHP (Guzzle)
source: "use GuzzleHttp\\Client;\n\n$response = (new Client())->get('https://pineprompt.com/api/v1/responses', [\n 'headers' => [\n 'Authorization' => 'Bearer '.getenv('PINEPROMPT_TOKEN'),\n 'Pineprompt-Project-Id' => '1',\n ],\n]);\n\n// Guzzle throws on 4xx/5xx by default, so no manual check needed.\n$payload = json_decode((string) $response->getBody(), true);"
/api/v1/responses/{response}:
get:
tags:
- Responses
summary: Get a response
description: Returns a single response. The response must belong to the active project.
operationId: get-response
parameters:
- $ref: '#/components/parameters/ProjectHeader'
- name: response
in: path
description: The numeric ID of the response.
required: true
schema:
type: integer
example: 7842
- $ref: '#/components/parameters/IncludeResponse'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Response'
'400':
description: Missing project header
x-auto-injected: true
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
example:
message: Missing required header Pineprompt-Project-Id.
'401':
description: Unauthorized
x-auto-injected: true
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
example:
message: Unauthenticated.
'403':
description: Missing ability
x-auto-injected: true
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
example:
message: 'Missing ability: responses:read'
'404':
description: Not found
x-auto-injected: true
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
example:
message: Response not found.
'422':
description: Validation failed
x-auto-injected: true
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationErrorEnvelope'
example:
message: Invalid sort_by value.
errors:
sort_by:
- Invalid sort_by value.
security:
- BearerToken:
- responses:read
x-codeSamples:
- lang: bash
label: cURL
source: "curl -X GET https://pineprompt.com/api/v1/responses/7842 \\\n -H \"Authorization: Bearer $PINEPROMPT_TOKEN\" \\\n -H \"Pineprompt-Project-Id: 1\""
- lang: javascript
label: JavaScript (fetch)
source: "const response = await fetch(\"https://pineprompt.com/api/v1/responses/7842\", {\n method: \"GET\",\n headers: {\n \"Authorization\": `Bearer ${process.env.PINEPROMPT_TOKEN}`,\n \"Pineprompt-Project-Id\": \"1\",\n },\n});\n\nif (!response.ok) throw new Error(`Request failed: ${response.status}`);\n\nconst payload = await response.json();"
- lang: python
label: Python (requests)
source: "import os\nimport requests\n\nresponse = requests.get(\n \"https://pineprompt.com/api/v1/responses/7842\",\n headers={\n \"Authorization\": f\"Bearer {os.environ['PINEPROMPT_TOKEN']}\",\n \"Pineprompt-Project-Id\": \"1\",\n },\n)\n\nresponse.raise_for_status()\npayload = response.json()"
- lang: php
label: PHP (Guzzle)
source: "use GuzzleHttp\\Client;\n\n$response = (new Client())->get('https://pineprompt.com/api/v1/responses/7842', [\n 'headers' => [\n 'Authorization' => 'Bearer '.getenv('PINEPROMPT_TOKEN'),\n 'Pineprompt-Project-Id' => '1',\n ],\n]);\n\n// Guzzle throws on 4xx/5xx by default, so no manual check needed.\n$payload = json_decode((string) $response->getBody(), true);"
components:
parameters:
PerPage:
name: per_page
in: query
description: The number of items per page. Defaults to `25`, maximum `100`.
required: false
schema:
type: integer
example: 25
Page:
name: page
in: query
description: The page number to return. Defaults to `1`.
required: false
schema:
type: integer
example: 1
IncludeResponse:
name: include
in: query
description: 'A comma-separated list of related resources to include in the response. Allowed values: `prompt`, `prompt.monitor`, `prompt.monitor.project`, `prompt.monitor.project.organization`, `monitor`, `monitor.project`, `monitor.project.organization`, `project`, `project.organization`.'
required: false
schema:
type: string
example: prompt
SortOrder:
name: sort_order
in: query
description: The direction to sort by. Each endpoint has its own default.
required: false
schema:
type: string
enum:
- asc
- desc
ProjectHeader:
name: Pineprompt-Project-Id
in: header
description: The active project's numeric ID.
required: true
schema:
type: integer
schemas:
Response:
title: The response object
description: A response is one captured answer from an AI platform to one prompt on a single daily run. It carries the rendered content, the model that produced it, the monitor's country and language, and any search queries the platform issued.
properties:
id:
description: The unique ID of the response.
type: integer
example: 7842
prompt_id:
description: The numeric ID of the prompt that produced this response. You may pass this ID to the `prompt_id` filter on the list endpoint.
type: integer
example: 901
monitor_id:
description: The numeric ID of the monitor this response ran under.
type: integer
example: 271
prompt_text:
description: The exact prompt text the platform was given.
type: string
example: What are the best AI visibility monitoring tools?
platform:
description: The AI platform that produced this answer.
type: string
example: chatgpt
model:
description: The model identifier reported by the platform.
type: string
example: gpt-4
country:
description: The ISO 3166-1 alpha-2 country code the response was run in.
type: string
example: US
language:
description: The language the response was run in.
type: string
example: en
content:
description: The raw markdown content the platform produced.
type: string
html:
description: The rendered HTML form of the content, suitable for display.
type: string
excerpt:
description: A whitespace-collapsed plain-text excerpt of the content, suitable for list views.
type: string
search_queries:
description: The web search queries the platform ran while producing this answer, if any.
type:
- array
- 'null'
items:
type: string
prompt:
description: The originating prompt. Returned when requested via `include=prompt` or a deeper chain such as `prompt.monitor.project.organization`.
allOf:
- $ref: '#/components/schemas/Prompt'
x-relation: include
monitor:
description: The monitor this response ran under. Returned when requested via `include=monitor` or a deeper chain.
allOf:
- $ref: '#/components/schemas/Monitor'
x-relation: include
project:
description: The project this response belongs to. Returned when requested via `include=project` or `include=project.organization`.
allOf:
- $ref: '#/components/schemas/Project'
x-relation: include
created_at:
description: When the response was recorded.
type: string
format: date-time
example: '2026-05-15T09:11:42+00:00'
updated_at:
description: When the response was last updated.
type: string
format: date-time
example: '2026-05-15T09:11:42+00:00'
type: object
PaginationLink:
title: Pagination link
properties:
url:
description: The URL for this link, or `null` for the disabled previous and next boundaries.
type:
- string
- 'null'
example: https://pineprompt.com/api/v1/monitors?page=2
label:
description: The label for this link, either a page number or a localized previous or next caption.
type: string
example: '2'
page:
description: The page number this link points to, or `null` for the disabled previous and next boundaries.
type:
- integer
- 'null'
example: 2
active:
description: Whether this link is the page currently being returned.
type: boolean
example: false
type: object
PaginationMeta:
title: Pagination metadata
properties:
current_page:
type: integer
example: 1
from:
type:
- integer
- 'null'
example: 1
last_page:
type: integer
example: 1
path:
type: string
example: https://pineprompt.com/api/v1/monitors
per_page:
type: integer
example: 25
to:
type:
- integer
- 'null'
example: 1
total:
type: integer
example: 1
links:
description: The page-link rows, in display order from the first page through the last. The set always opens with a previous link and closes with a next link.
type: array
items:
$ref: '#/components/schemas/PaginationLink'
type: object
PaginationLinks:
title: Pagination links
properties:
first:
type:
- string
- 'null'
example: https://pineprompt.com/api/v1/monitors?page=1
last:
type:
- string
- 'null'
example: https://pineprompt.com/api/v1/monitors?page=1
prev:
type:
- string
- 'null'
example: null
next:
type:
- string
- 'null'
example: null
type: object
Monitor:
title: The monitor object
description: 'A monitor is a configured daily run: a set of prompts bound to one or more AI platforms in a chosen country and language. While a monitor is active, Pineprompt runs it once per day on your behalf.'
properties:
id:
description: The unique ID of the monitor.
type: integer
example: 271
project_id:
description: The ID of the project this monitor runs under.
type: integer
example: 42
name:
description: The display name of the monitor.
type: string
example: Brand visibility (US)
platforms:
description: The AI platforms the monitor runs against.
type: array
items:
type: string
example:
- chatgpt
- gemini
- claude
country:
description: The ISO 3166-1 alpha-2 country code.
type: string
example: US
language:
description: The language the monitor runs in.
type: string
example: en
is_active:
description: Whether the monitor will run on its next daily run.
type: boolean
example: true
project:
description: The parent project. Returned when requested via `include=project` or `include=project.organization`.
allOf:
- $ref: '#/components/schemas/Project'
x-relation: include
created_at:
description: When the monitor was created.
type: string
format: date-time
example: '2026-05-15T09:11:42+00:00'
updated_at:
description: When the monitor was last updated.
type: string
format: date-time
example: '2026-05-15T09:11:42+00:00'
type: object
Prompt:
title: The prompt object
description: A prompt is a single question Pineprompt asks the AI platforms on your behalf. An active prompt runs with its monitor once per day; an inactive prompt keeps its history but no longer runs.
properties:
id:
description: The unique ID of the prompt.
type: integer
example: 901
monitor_id:
description: The ID of the monitor that owns this prompt.
type: integer
example: 271
prompt:
description: The question text the monitor asks each platform on every run.
type: string
example: What are the best AI visibility monitoring tools?
is_active:
description: Whether the prompt will run on each daily run of its monitor.
type: boolean
example: true
monitor:
description: The parent monitor. Returned when requested via `include=monitor` or a deeper chain.
allOf:
- $ref: '#/components/schemas/Monitor'
x-relation: include
created_at:
description: When the prompt was created.
type: string
format: date-time
example: '2026-05-15T09:11:42+00:00'
updated_at:
description: When the prompt was last updated.
type: string
format: date-time
example: '2026-05-15T09:11:42+00:00'
type: object
ResponseList:
properties:
data:
type: array
items:
$ref: '#/components/schemas/Response'
links:
$ref: '#/components/schemas/PaginationLinks'
meta:
$ref: '#/components/schemas/PaginationMeta'
type: object
Project:
title: The project object
description: A project represents a single brand or site you monitor. Its `brand_id` names the own brand, the brand every core metric is computed for.
properties:
id:
description: The unique ID of the project.
type: integer
example: 42
organization_id:
description: The ID of the organization that owns the project.
type: integer
example: 7
name:
description: The display name of the project.
type: string
example: Acme Marketing
brand_id:
description: The ID of the project's own brand, or null while none has been designated.
type:
- integer
- 'null'
example: 555
organization:
description: The parent organization. Returned when requested via `include=organization`.
allOf:
- $ref: '#/components/schemas/Organization'
x-relation: include
created_at:
description: When the project was created.
type: string
format: date-time
example: '2026-05-15T09:11:42+00:00'
updated_at:
description: When the project was last updated.
type: string
format: date-time
example: '2026-05-15T09:11:42+00:00'
type: object
ErrorEnvelope:
properties:
message:
type: string
type: object
Organization:
title: The organization object
description: An organization is the top-level billing entity and tenant boundary in Pineprompt. Every project, member, and API key belongs to exactly one organization.
properties:
id:
description: The unique ID of the organization.
type: integer
example: 7
name:
description: The display name of the organization.
type: string
example: Acme Inc.
plan:
description: The key of the active plan, or null when the organization has no active subscription (including a past-due one). Without an active plan, daily monitor runs and write operations are unavailable.
type:
- string
- 'null'
example: pro
billing_url:
description: The billing page where the organization owner can choose a plan or fix a failed payment. Only set when the organization has no active plan and the request is made in the owner membership context (MCP organization tools); always null over the REST API.
type:
- string
- 'null'
format: uri
example: https://pineprompt.io/settings/organizations/7/billing
created_at:
description: When the organization was created.
type: string
format: date-time
example: '2026-05-15T09:11:42+00:00'
updated_at:
description: When the organization was last updated.
type: string
format: date-time
example: '2026-05-15T09:11:42+00:00'
type: object
ValidationErrorEnvelope:
properties:
message:
type: string
errors:
type: object
additionalProperties:
type: array
items:
type: string
type: object
securitySchemes:
BearerToken:
type: http
description: An API key bound to a single organization.
bearerFormat: Pineprompt API Key
scheme: bearer