AY Rank Index Now API
Check an IndexNow key file, then submit URLs to the IndexNow API after the key file passes.
Check an IndexNow key file, then submit URLs to the IndexNow API after the key file passes.
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/ayrank-com:ayrank-com-indexnow-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: AY Rank Free Tools Index Now API
version: 1.0.0
summary: Free JSON API for AY Rank SEO and GEO tools.
description: 'Public JSON versions of the free tools at https://www.ayrank.com/tools. Every endpoint takes GET with query parameters or POST with a JSON body (max 32768 bytes). Free, no key. Rate limit: 30 requests per 60 seconds per IP, shared across all /api/v1 tools. Each success response includes a poweredBy link back to the tool page.'
termsOfService: https://www.ayrank.com/terms
contact:
name: AY Rank
url: https://www.ayrank.com
servers:
- url: https://www.ayrank.com
tags:
- name: IndexNow
description: Check an IndexNow key file, then submit URLs to the IndexNow API after the key file passes.
paths:
/api/v1/indexnow-checker:
get:
tags:
- IndexNow
summary: Check that an IndexNow key file is live and matches the key
description: 'Step 1 of the IndexNow checker. Checks the key format from the indexnow.org documentation (8 to 128 characters, only a-z, A-Z, 0-9 and dashes), then sends one GET to the key file: https://{host}/{key}.txt, or keyLocation, which must be on the same host. Redirects are not followed and a redirect fails the check. At most 4096 bytes are read, with a 6 s timeout. verdict is pass only when the file answers 200 and its body is exactly the key (one trailing line break allowed; the indexnow.org FAQ: "The text inside must exactly match your API key"). problem is null, redirected, not-found (404 or 410), status (any other non-200), empty, extra-content (the key plus other text), mismatch, too-big, timeout or network. folder is the path prefix the key file covers (/ for a root file); the documentation says a key file in a folder only covers URLs in that folder. Nothing is sent to IndexNow. Public hosts on ports 80 and 443 only; a blocked host, a bad key format or a keyLocation on another host returns 400. Free, no key. Rate limit: 30 requests per 60 seconds per IP, shared across all /api/v1 tools.'
externalDocs:
description: Use the tool in a browser
url: https://www.ayrank.com/tools/indexnow-checker
operationId: indexNowKeyCheckGet
parameters:
- name: host
in: query
required: true
description: The host, like www.example.com. A URL is accepted and its host is used.
schema:
type: string
- name: key
in: query
required: true
description: Your IndexNow key, 8 to 128 characters of a-z, A-Z, 0-9 and dashes.
schema:
type: string
- name: keyLocation
in: query
required: false
description: Optional. The key file URL when it is not at the root, on the same host.
schema:
type: string
responses:
'200':
description: Result
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/IndexNowKeyResponse'
'400':
$ref: '#/components/responses/BadRequest'
'429':
$ref: '#/components/responses/RateLimited'
post:
tags:
- IndexNow
summary: Check that an IndexNow key file is live and matches the key
description: 'Step 1 of the IndexNow checker. Checks the key format from the indexnow.org documentation (8 to 128 characters, only a-z, A-Z, 0-9 and dashes), then sends one GET to the key file: https://{host}/{key}.txt, or keyLocation, which must be on the same host. Redirects are not followed and a redirect fails the check. At most 4096 bytes are read, with a 6 s timeout. verdict is pass only when the file answers 200 and its body is exactly the key (one trailing line break allowed; the indexnow.org FAQ: "The text inside must exactly match your API key"). problem is null, redirected, not-found (404 or 410), status (any other non-200), empty, extra-content (the key plus other text), mismatch, too-big, timeout or network. folder is the path prefix the key file covers (/ for a root file); the documentation says a key file in a folder only covers URLs in that folder. Nothing is sent to IndexNow. Public hosts on ports 80 and 443 only; a blocked host, a bad key format or a keyLocation on another host returns 400. Free, no key. Rate limit: 30 requests per 60 seconds per IP, shared across all /api/v1 tools.'
externalDocs:
description: Use the tool in a browser
url: https://www.ayrank.com/tools/indexnow-checker
operationId: indexNowKeyCheckPost
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/IndexNowKeyRequest'
responses:
'200':
description: Result
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/IndexNowKeyResponse'
'400':
$ref: '#/components/responses/BadRequest'
'429':
$ref: '#/components/responses/RateLimited'
/api/v1/indexnow-checker/submit:
post:
tags:
- IndexNow
summary: Submit URLs to IndexNow after re-checking the key file
description: 'Step 2 of the IndexNow checker. POST only. Checks urlList first: every URL must be http(s), on the host, and inside the key file''s folder when keyLocation is given. Duplicates are removed, and at most 100 different URLs are sent per request (the protocol allows 10,000 per POST). Then it runs the step 1 key file check again in the same request. Only if that passes does it POST { host, key, keyLocation, urlList } to https://api.indexnow.org/indexnow, a fixed endpoint that can''t be changed, with a 10 s timeout. The key file on the host proves the caller controls the site. submitted is false when the key file failed (keyCheck says why) or IndexNow did not answer (error). response.meaning is the indexnow.org documentation''s row for the status code: 200 OK, 202 Accepted, 400 Bad request, 403 Forbidden, 422 Unprocessable Entity, 429 Too Many Requests, or null for a code the documentation does not list. There is no tighter limit for this route than the shared one. Free, no key. Rate limit: 30 requests per 60 seconds per IP, shared across all /api/v1 tools.'
externalDocs:
description: Use the tool in a browser
url: https://www.ayrank.com/tools/indexnow-checker
operationId: indexNowSubmitPost
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/IndexNowSubmitRequest'
responses:
'200':
description: Result
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/IndexNowSubmitResponse'
'400':
$ref: '#/components/responses/BadRequest'
'429':
$ref: '#/components/responses/RateLimited'
components:
headers:
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
X-RateLimit-Reset:
description: Seconds until the window resets.
schema:
type: integer
X-RateLimit-Remaining:
description: Requests left in the current window.
schema:
type: integer
X-RateLimit-Limit:
description: Requests allowed per window.
schema:
type: integer
schemas:
IndexNowKeyRequest:
type: object
required:
- host
- key
additionalProperties: false
properties:
host:
type: string
maxLength: 300
description: The host, like www.example.com.
key:
type: string
minLength: 8
maxLength: 128
pattern: ^[A-Za-z0-9-]+$
keyLocation:
type: string
maxLength: 2000
description: Optional key file URL on the same host.
examples:
- host: www.ayrank.com
key: 74c4bc53dea7f709bbb8461fc6b955d6
Error:
type: object
required:
- error
- docs
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
enum:
- invalid_input
- rate_limited
message:
type: string
docs:
type: string
format: uri
IndexNowSubmitResponse:
type: object
required:
- keyCheck
- submitted
- endpoint
- request
- response
- error
- checkedAt
- poweredBy
properties:
keyCheck:
$ref: '#/components/schemas/IndexNowKeyResponse'
submitted:
type: boolean
description: True when IndexNow answered.
endpoint:
type: string
const: https://api.indexnow.org/indexnow
request:
type:
- object
- 'null'
description: 'The JSON body sent: { host, key, keyLocation, urlList }. Null when the key file failed.'
response:
type:
- object
- 'null'
description: 'IndexNow''s answer: { status, statusText, meaning ({ response, reason } from the documentation''s table, or null), retryAfter, bodyPreview (first 500 characters) }.'
error:
type:
- string
- 'null'
description: timeout or network when IndexNow did not answer.
checkedAt:
type: string
format: date-time
poweredBy:
$ref: '#/components/schemas/PoweredBy'
IndexNowSubmitRequest:
type: object
required:
- host
- key
- urlList
additionalProperties: false
properties:
host:
type: string
maxLength: 300
key:
type: string
minLength: 8
maxLength: 128
pattern: ^[A-Za-z0-9-]+$
keyLocation:
type: string
maxLength: 2000
urlList:
description: URLs on the host, as an array or one string with one URL per line. At most 100 after duplicates are removed.
oneOf:
- type: string
- type: array
items:
type: string
maxLength: 2000
maxItems: 500
examples:
- host: www.example.com
key: your-indexnow-key
urlList:
- https://www.example.com/new-page
IndexNowKeyResponse:
type: object
required:
- host
- key
- keyFileUrl
- keyLocation
- folder
- status
- contentType
- location
- bodyPreview
- verdict
- problem
- checkedAt
- poweredBy
properties:
host:
type: string
key:
type: string
keyFileUrl:
type: string
description: The URL read.
keyLocation:
type: boolean
description: True when keyLocation was given.
folder:
type: string
description: Path prefix the key file covers.
status:
type:
- integer
- 'null'
description: Null when no answer arrived.
contentType:
type: string
location:
type:
- string
- 'null'
description: Location header of a redirect.
bodyPreview:
type: string
description: The first 200 characters of the body (200 answers only).
verdict:
type: string
enum:
- pass
- fail
problem:
type:
- string
- 'null'
enum:
- redirected
- not-found
- status
- empty
- extra-content
- mismatch
- too-big
- timeout
- network
- null
checkedAt:
type: string
format: date-time
poweredBy:
$ref: '#/components/schemas/PoweredBy'
PoweredBy:
type: object
required:
- text
- url
properties:
text:
type: string
const: Powered by AY Rank
url:
type: string
format: uri
responses:
BadRequest:
description: 'Invalid input: unknown field, wrong type, missing required field, value too long, or bad JSON.'
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RateLimited:
description: Rate limit hit. Wait Retry-After seconds.
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
Retry-After:
$ref: '#/components/headers/Retry-After'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'