NativePort Catalog API
The catalog API from NativePort — 5 operation(s) for catalog.
The catalog API from NativePort — 5 operation(s) for catalog.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/nativeport-ai:nativeport-ai-catalog-api"
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.
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: Reference Catalog API
version: 1.0.0
servers:
- url: https://api.nativeport.ai
description: NativePort production
- url: http://localhost:8787
description: Local development (wrangler dev)
tags:
- name: Catalog
paths:
/mcp:
post:
operationId: catalog_mcp
summary: Model Context Protocol endpoint (Streamable HTTP, stateless)
description: 'JSON-RPC 2.0 over Streamable HTTP. Send `Content-Type: application/json` and
`Accept: application/json, text/event-stream`, with your bearer in `Authorization`. Tools:
`find_endpoints`, `inspect_endpoint`, `call_endpoint`, `account`; resource `nativeport://skill`.
An empty balance still connects (reads work; `call_endpoint` returns the `402` as an error
result). Every other HTTP method answers `405` with `Allow: POST`. Client setup:
https://docs.nativeport.ai/mcp'
tags:
- Catalog
responses:
'200':
description: The JSON-RPC response, as a JSON body or as a single `text/event-stream` event depending on the client's protocol era.
content:
application/json:
schema:
type: object
additionalProperties:
description: Any type
'401':
description: Missing, unknown or revoked key.
content:
application/json:
schema:
description: Any type
'403':
description: Account suspended.
content:
application/json:
schema:
description: Any type
'404':
description: The MCP surface is switched off.
content:
application/json:
schema:
description: Any type
'405':
description: Any method other than POST.
content:
application/json:
schema:
description: Any type
'406':
description: The `Accept` header lacks `application/json` or `text/event-stream`.
content:
application/json:
schema:
description: Any type
requestBody:
description: A JSON-RPC 2.0 request or notification.
content:
application/json:
schema:
type: object
properties:
jsonrpc:
$ref: '#/components/schemas/McpPostRequestBodyContentApplicationJsonSchemaJsonrpc'
id:
$ref: '#/components/schemas/McpPostRequestBodyContentApplicationJsonSchemaId'
method:
type: string
params:
type: object
additionalProperties:
description: Any type
required:
- jsonrpc
- method
security:
- bearerAuth: []
/v1/catalog:
get:
operationId: catalog_list
summary: List the endpoint catalog, or rank it by keywords
description: 'Every endpoint family the gateway mounts, with its route, admitted actions, a minimal example
request, its price and the provider''s reference page. With `q`, entries are ranked by how many
of the query''s keywords they contain (tokens of four or more characters also match by prefix),
then by expected price. Cached for five minutes with a strong `ETag`; `If-None-Match` answers `304`.'
tags:
- Catalog
parameters:
- name: q
in: query
description: Two or three English keywords. Omit for the whole catalog.
required: false
schema:
type: string
- name: limit
in: query
description: Results to return when `q` is set (default 10, maximum 50).
required: false
schema:
type: integer
minimum: 1
maximum: 50
responses:
'200':
description: The catalog (or the ranked subset).
content:
application/json:
schema:
$ref: '#/components/schemas/CatalogList'
/v1/catalog/{id}:
get:
operationId: catalog_get
summary: One catalog entry with a ready-to-send request
description: 'The entry plus a `request` (method, URL, headers, body) built from its example against the
origin you called, and the same call spelled as `curl`.'
tags:
- Catalog
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: The entry and its ready request.
content:
application/json:
schema:
$ref: '#/components/schemas/CatalogDetail'
'404':
description: Unknown id.
content:
application/json:
schema:
$ref: '#/components/schemas/CatalogGetRequestNotFoundError'
/SKILL.md:
get:
operationId: catalog_skillMarkdown
summary: The agent skill, generated from the catalog
description: 'The file an agent installs from `set up https://nativeport.ai/SKILL.md` (which serves this same file).
Also served at `/skill.md`. Its endpoint table is rendered from the live catalog on every request.'
tags:
- Catalog
responses:
'200':
description: Markdown with YAML frontmatter (`name`, `version`, `description`).
content:
application/json:
schema:
type: object
properties: {}
/v1/account:
get:
operationId: catalog_accountGet
summary: Balance and status of the calling key
description: 'Passes the same gate as every proxy — a missing or unknown key draws `401`, an empty balance
`402`, a suspended account `403` — and is never debited or cached.'
tags:
- Catalog
responses:
'200':
description: The account behind the bearer.
content:
application/json:
schema:
$ref: '#/components/schemas/Catalog_accountGet_Response_200'
'401':
description: Missing, unknown or revoked key.
content:
application/json:
schema:
description: Any type
'402':
description: Empty balance.
content:
application/json:
schema:
description: Any type
'403':
description: Account suspended.
content:
application/json:
schema:
description: Any type
security:
- bearerAuth: []
components:
schemas:
CatalogDetailRequest:
type: object
properties:
method:
type: string
url:
type: string
headers:
type: object
additionalProperties:
type: string
body:
description: Any type
title: CatalogDetailRequest
Catalog_accountGet_Response_200:
type: object
properties:
balanceMicro:
type: integer
description: Micro-credits (1,000,000 µc = one credit = US$1).
balanceUsd:
type: number
format: double
status:
type: string
trialState:
type: string
description: Present only while the account is under trial probation.
required:
- balanceMicro
- balanceUsd
- status
title: Catalog_accountGet_Response_200
CatalogPriceType:
type: string
enum:
- PER_CALL
- PER_UNIT
- PASSTHROUGH
- PER_TOKEN
- FREE
title: CatalogPriceType
CatalogDetail:
type: object
properties:
version:
type: string
callFeeBps:
type: integer
description: The gateway's fee on every debit, in basis points (`550` = 5.5%). Every price in the response already includes it.
entry:
$ref: '#/components/schemas/CatalogEntry'
request:
$ref: '#/components/schemas/CatalogDetailRequest'
curl:
type: string
required:
- version
- callFeeBps
- entry
- request
- curl
title: CatalogDetail
CatalogEntryActionsItems:
type: object
properties:
method:
type: string
path:
type: string
summary:
type: string
title: CatalogEntryActionsItems
CatalogEntry:
type: object
properties:
id:
type: string
provider:
type: string
providerName:
type: string
group:
type: string
methods:
type: array
items:
type: string
route:
type: string
description: The mounted route with `{...}` placeholders.
actions:
type: array
items:
$ref: '#/components/schemas/CatalogEntryActionsItems'
description: Wildcard families only — the exact actions the allowlist admits.
summary:
type: string
tags:
type: array
items:
type: string
capabilities:
type: array
items:
type: string
example:
type: object
additionalProperties:
description: Any type
description: The minimal valid request (`method`, `path`, optional `query` and `body`).
price:
$ref: '#/components/schemas/CatalogPrice'
priceLabel:
type: string
expectedMicro:
type:
- integer
- 'null'
description: What one plain call debits, the gateway's 5.5% fee included, when knowable in advance, else null.
restrictions:
type: array
items:
type: string
docUrl:
type: string
format: uri
score:
type: number
format: double
description: Present only on `?q=` results.
required:
- id
- provider
- providerName
- group
- methods
- route
- summary
- tags
- capabilities
- example
- price
- priceLabel
- docUrl
title: CatalogEntry
CatalogGetRequestNotFoundError:
type: object
properties:
error:
type: string
title: CatalogGetRequestNotFoundError
McpPostRequestBodyContentApplicationJsonSchemaId:
oneOf:
- type: integer
- type: string
title: McpPostRequestBodyContentApplicationJsonSchemaId
CatalogList:
type: object
properties:
version:
type: string
callFeeBps:
type: integer
description: The gateway's fee on every debit, in basis points (`550` = 5.5%). Every price in the response already includes it.
query:
type: string
count:
type: integer
skill:
type: string
format: uri
entries:
type: array
items:
$ref: '#/components/schemas/CatalogEntry'
required:
- version
- callFeeBps
- count
- entries
title: CatalogList
McpPostRequestBodyContentApplicationJsonSchemaJsonrpc:
type: string
enum:
- '2.0'
title: McpPostRequestBodyContentApplicationJsonSchemaJsonrpc
CatalogPrice:
type: object
properties:
type:
$ref: '#/components/schemas/CatalogPriceType'
required:
- type
description: 'Discriminated on `type`. `PER_CALL` — `amountMicro`, `basis` (`list` or `approximation`);
`PER_UNIT` — `unit`, `amountMicroPerUnit`, `typicalUnits`, `note`; `PASSTHROUGH` — `source`,
`note`; `PER_TOKEN` — `modelsRoute`, `note`; `FREE`. All amounts in micro-credits, with the
gateway''s 5.5% fee (the response''s `callFeeBps`) already included, so they are what the
ledger debits. A `PASSTHROUGH` debit is the provider''s own reported cost plus that fee.
'
title: CatalogPrice
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Your per-client bearer token — the API key the gateway issued to you. Present it in
`Authorization: Bearer <token>` form. A token that is missing, unknown, or revoked draws a
`401`. Before the call is sent upstream the token is removed (stripped, or swapped for the
upstream''s own credential); it never makes it past the gateway.
'