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/okfindex-com:okfindex-com-public-collections-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: OKF Index Public Collections API
version: cb36b312
description: 'The search index of Open Knowledge Format bundles. Index: GET /api/.'
servers:
- url: https://okfindex.com
tags:
- name: Public Collections
paths:
/api/public-collections/{collection_id}:
get:
operationId: public_get_collection
summary: Read a published collection without an account
description: 'Collections store references, not copied content. They start private. Owner search reads current files in owned bases and published files in other bases. Publication includes only references to currently public bases; private bases and later additions stay out. Every public read checks base publication again. Private or withdrawn collections return 404. Responses use private, no-store.
Returns: { collection{id,name,visibility,created_at,api,public_url}, items[{base,own,published}], next, limits }'
parameters:
- name: collection_id
in: path
required: true
schema:
type: string
description: The 64-character ID returned by this API.
responses:
'200':
description: '{ collection{id,name,visibility,created_at,api,public_url}, items[{base,own,published}], next, limits }'
content:
application/json:
schema:
type: object
properties:
collection:
allOf:
- $ref: '#/components/schemas/KnowledgeCollection'
description: Collection metadata and its publication link.
items:
type: array
items:
$ref: '#/components/schemas/CollectionReference'
description: Currently accessible base references. Content stays in its original base.
next:
type: string
description: Next page URL, or null when the bounded result is complete.
nullable: true
limits:
type: object
description: 'Initial limits: 10 collections per account, 20 base references per collection, 20 search results per page.'
required:
- collection
- items
- next
- limits
'400':
description: Invalid name, cursor, query or idempotency key.
'401':
description: A personal account or API key is required.
'403':
description: Organization credentials cannot access personal collections.
'404':
description: The collection or base is inaccessible.
'409':
description: Collection or reference limit reached.
'413':
description: Request body exceeds 2 KiB.
'415':
description: Use application/json.
'503':
description: Collection storage is unavailable.
tags:
- Public Collections
/api/public-collections/{collection_id}/search:
get:
operationId: public_search_collection
summary: Search the published references of a public collection
description: 'Collections store references, not copied content. They start private. Owner search reads current files in owned bases and published files in other bases. Publication includes only references to currently public bases; private bases and later additions stay out. Every public read checks base publication again. Private or withdrawn collections return 404. Responses use private, no-store.
Returns: { query, items[{document,base,snippet}], next }'
parameters:
- name: collection_id
in: path
required: true
schema:
type: string
description: The 64-character ID returned by this API.
- name: q
in: query
required: true
schema:
type: string
description: 3–160 characters. Uses the existing MySQL FULLTEXT phrase search in document bodies.
- name: after
in: query
required: false
schema:
type: string
description: Document cursor from the next-page URL. Do not construct it.
responses:
'200':
description: '{ query, items[{document,base,snippet}], next }'
content:
application/json:
schema:
type: object
properties:
query:
type: string
description: The requested word or phrase.
items:
type: array
items:
$ref: '#/components/schemas/CollectionSearchResult'
description: Matching documents, their base of origin and a bounded excerpt.
next:
type: string
description: Next page URL, or null when the bounded result is complete.
nullable: true
required:
- query
- items
- next
'400':
description: Invalid name, cursor, query or idempotency key.
'401':
description: A personal account or API key is required.
'403':
description: Organization credentials cannot access personal collections.
'404':
description: The collection or base is inaccessible.
'409':
description: Collection or reference limit reached.
'413':
description: Request body exceeds 2 KiB.
'415':
description: Use application/json.
'503':
description: Collection storage is unavailable.
tags:
- Public Collections
components:
schemas:
Document:
type: object
properties:
id:
type: string
description: The 64-character ID returned by the API.
version_id:
type: string
description: Immutable version ID, present in private history.
current:
type: boolean
description: Whether this retained version is current.
published:
type: boolean
description: Whether this retained version is the one explicitly published.
base_id:
type: string
description: The 64-character ID returned by the API.
filename:
type: string
description: Original filename.
title:
type: string
description: Filename without extension.
format:
type: string
description: md, txt, pdf, docx or doc after conversion.
managed:
type: string
description: dataset for generated metadata; edit through save_base_dataset. Null for ordinary files.
nullable: true
sha256:
type: string
description: SHA-256 of stored UTF-8 text. Converted source hash is source_sha256.
bytes:
type: integer
description: Stored UTF-8 text size in bytes.
status:
type: string
description: ready or pending.
created_at:
type: string
description: Upload date, ISO 8601.
api:
type: string
description: JSON with Markdown.
source_url:
type: string
description: 'Present on document reads: source URL preserved with this version, or null for manual uploads. Also included in the exported OKF concept.'
nullable: true
source_sha256:
type: string
description: SHA-256 of the original converted file.
pages:
type: integer
description: PDF physical page count. Zero for continuous DOC and DOCX text.
review:
type: object
description: 'PDF: completed automated review. DOC/DOCX: not_applicable, null model and zero pages reviewed.'
markdown_url:
type: string
description: Markdown download.
original_url:
type: string
description: Original file download.
conversion_url:
type: string
description: Owner-only saved manifest, source metadata and processing result. Present for converted versions in private history.
okf_url:
type: string
description: OKF concept URL.
required:
- id
- base_id
- filename
- title
- format
- managed
- sha256
- bytes
- status
- created_at
- api
- markdown_url
- original_url
- okf_url
DatasetField:
type: object
properties:
name:
type: string
description: Field name, 1–80 characters.
description:
type: string
description: Meaning, 1–200 characters.
required:
- name
- description
Base:
type: object
properties:
id:
type: string
description: The 64-character ID returned by the API.
name:
type: string
description: Base name.
visibility:
type: string
description: private or public; only explicit publication makes a base public.
dataset:
allOf:
- $ref: '#/components/schemas/Dataset'
description: Dataset metadata, or null. Public reads use the last explicit publication.
nullable: true
created_at:
type: string
description: Creation date, ISO 8601.
updated_at:
type: string
description: Last change, ISO 8601.
documents:
type: integer
description: Document count when returned by the base list; null otherwise.
nullable: true
bytes:
type: integer
description: Current original bytes in the owner's base list; null in other private responses. Omitted from public responses.
nullable: true
api:
type: string
description: Metadata URL.
export_url:
type: string
description: ZIP download URL.
history_url:
type: string
description: Owner-only paginated export of all retained versions. Follow next and download each version by its returned URLs.
okf_url:
type: string
description: OKF root index URL.
public_url:
type: string
description: Public page URL while published; null when private.
nullable: true
embed_url:
type: string
description: Public search iframe URL while published; null when private. Uses the same public API and limits. No account controls inside the iframe.
nullable: true
publication:
allOf:
- $ref: '#/components/schemas/BasePublication'
description: Latest publication declaration, or null before first publication.
nullable: true
required:
- id
- name
- visibility
- dataset
- created_at
- updated_at
- documents
- bytes
- api
- export_url
- okf_url
- public_url
- embed_url
- publication
Dataset:
type: object
properties:
description:
type: string
description: Dataset description, 1–2000 characters.
fields:
type: array
items:
$ref: '#/components/schemas/DatasetField'
description: 1–30 fields, each with a name and description.
coverage:
type: string
description: Geographic, temporal or subject coverage, 1–300 characters.
format:
type: string
description: Source format, for example CSV or JSON, 1–40 characters.
update_frequency:
type: string
description: Declared update schedule, 1–200 characters. No automatic check is performed.
license:
type: string
description: Declared license or access terms, 1–300 characters. Not independently verified.
source_url:
type: string
description: HTTPS origin URL, at most 1000 characters, without credentials.
required:
- description
- fields
- coverage
- format
- update_frequency
- license
- source_url
CollectionSearchResult:
type: object
properties:
document:
allOf:
- $ref: '#/components/schemas/Document'
description: Accessible document metadata and source links.
base:
allOf:
- $ref: '#/components/schemas/CollectionOrigin'
description: The result's original base.
snippet:
type: string
description: Source excerpt of up to 360 characters.
required:
- document
- base
- snippet
BasePublication:
type: object
properties:
author:
type: string
description: Author or attribution declared by the publisher.
source_url:
type: string
description: Declared HTTPS source, or null for uploaded files.
nullable: true
terms:
type: string
description: Terms declared by the publisher. This is not an independent license verification.
published_at:
type: string
description: Date of the last explicit publication, ISO 8601.
required:
- author
- source_url
- terms
- published_at
KnowledgeCollection:
type: object
properties:
id:
type: string
description: The 64-character ID returned by this API.
name:
type: string
description: The owner-selected collection name.
visibility:
type: string
description: private or public; new collections start private.
created_at:
type: string
description: UTC creation timestamp.
api:
type: string
description: Authorized API URL for this view.
public_url:
type: string
description: Public collection page, or null before publication.
nullable: true
required:
- id
- name
- visibility
- created_at
- api
- public_url
CollectionOrigin:
type: object
properties:
id:
type: string
description: The 64-character ID returned by this API.
name:
type: string
description: Name of the base that contains the matching document.
api:
type: string
description: Base API URL for the current viewer.
public_url:
type: string
description: Public base page, or null for an owned private base.
nullable: true
required:
- id
- name
- api
- public_url
CollectionReference:
type: object
properties:
base:
allOf:
- $ref: '#/components/schemas/Base'
description: Accessible base metadata, with URLs for the current viewer.
own:
type: boolean
description: Whether this account owns the base; always false in a public view.
published:
type: boolean
description: Whether the reference was included in publication and the base remains public.
required:
- base
- own
- published
securitySchemes:
globalAccount:
type: apiKey
in: cookie
name: __Host-mm-auth
description: Global session in the product's HttpOnly cookie; writes require exact Origin and X-CSRF-Token.
contaChaveApi:
type: http
scheme: bearer
bearerFormat: mmk_…
description: 'Account API key: `Authorization: Bearer mmk_…` or `X-Api-Key: mmk_…`. Created on the account page (API keys), valid only in the product where it was created; it acts as the account (or the organization that owns it).'
carteiraAgente:
type: http
scheme: bearer
bearerFormat: mmw_…
description: 'Wallet credential of an agent without an account (`Authorization: Bearer mmw_…`, 30 days, this product only): POST /api/auth/wallet/agent/start, check that the domain and URI of the message are the host and origin that you called, sign the message with the wallet, POST /api/auth/wallet/agent/token. The owner is `x402:<address>`.'
externalDocs:
url: https://payapi.market/api/okf-index
description: PayAPI Market
x-service-info:
categories:
- knowledge
- search
- ai-agents
docs:
homepage: https://okfindex.com/
apiReference: https://okfindex.com/developers
llms: https://okfindex.com/llms.txt
pricing: https://okfindex.com/api/pricing
billing: https://okfindex.com/api/billing