OKF Index Ping API
The Ping API from OKF Index — 1 operation(s) for ping.
The Ping API from OKF Index — 1 operation(s) for ping.
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/okfindex-com:okfindex-com-ping-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: OKF Index Ping API
version: cb36b312
description: 'The search index of Open Knowledge Format bundles. Index: GET /api/.'
servers:
- url: https://okfindex.com
tags:
- name: Ping
paths:
/api/ping:
post:
operationId: submit_bundles
summary: Submits OKF bundles from a domain you control, using the IndexNow protocol
description: 'No account, no payment: ownership is proved by a key file on the host, exactly as IndexNow does it. Host `https:///.txt` containing the key (or point `keyLocation` at another path on the SAME host), then send the bundle URLs. We answer **202**: the key has not been checked yet. Verification and reading happen on our collector, never at the edge — so nothing is published, and no URL of yours is fetched, before the key matches. Re-sending a URL is how you say the bundle changed; it goes back in line to be re-read. At most 100 URLs per request and 200 per host per UTC day. Bundles in public GitHub repositories need no ping: the sweep finds them.
Returns: { ok, estado, host, recebidos, chave_em, mensagem, api_index }'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
urlList:
type: array
items:
type: string
description: 'The bundle roots (`index.md` files): https, on `host`, ending in .md — any path, since the spec fixes none.'
host:
type: string
description: The domain that serves the bundles and the key file.
key:
type: string
description: 'The IndexNow key: 8 to 128 characters of [a-zA-Z0-9-].'
keyLocation:
type: string
description: 'Alternative location of the key file, on the SAME host. Default: `https://<host>/<key>.txt`.'
required:
- urlList
- host
- key
example:
urlList:
- https://kb.example.org/knowledge/index.md
host: kb.example.org
key: okf-2026-09-08-k3y
responses:
'202':
description: '{ ok, estado, host, recebidos, chave_em, mensagem, api_index }'
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
description: The submission was queued.
estado:
type: string
description: 'Always `pendente`: the key has not been checked yet.'
host:
type: string
description: The host as normalized (lowercase).
recebidos:
type: integer
description: How many distinct URLs entered the queue.
chave_em:
type: string
description: Where we will look for the key file. Check it if you are unsure.
mensagem:
type: string
description: What happens next, in one sentence.
api_index:
type: string
description: Absolute URL of this API's index.
required:
- ok
- estado
- host
- recebidos
- chave_em
- mensagem
- api_index
'400':
description: Body is not JSON, `host` is not a domain, `key` is out of shape, or `urlList` is missing/empty/over 100.
'422':
description: Some URL is not https, does not end in .md or lives on another host; `keyLocation` off-host too.
'429':
description: The host already submitted 200 bundles this UTC day.
tags:
- Ping
components:
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