AY Rank HTTP headers API
List a URL's status line and every response header, hop by hop, with the search headers explained. No score.
List a URL's status line and every response header, hop by hop, with the search headers explained. No score.
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-http-headers-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 HTTP headers 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: HTTP headers
description: List a URL's status line and every response header, hop by hop, with the search headers explained. No score.
paths:
/api/v1/http-header-checker:
get:
tags:
- HTTP headers
summary: List every response header of a URL, hop by hop
description: 'Sends one GET per hop and follows redirects by hand (at most 5), recording each hop''s status line, Location and header lines exactly as received: names keep their case and repeated headers stay separate (at most 100 lines per hop, values cut at 600 characters). The body is never read. For the final response it parses X-Robots-Tag (rules per user agent, as in Google''s X-Robots-Tag spec), Link (targets, rel and hreflang, RFC 8288), Content-Type, Cache-Control, ETag, Last-Modified, Vary, Content-Encoding, Content-Length and Retry-After, and lists issues with severity error, warning or note: client-error (4xx), server-error (5xx or 429), too-many-redirects, redirect-chain (more than 1 redirect), temporary-redirect (302, 303, 307), xrt-noindex, xrt-nofollow, xrt-nosnippet (nosnippet or max-snippet:0), xrt-unavailable-after(-past), canonical-relative, canonical-other, hreflang-relative, hreflang-no-self, no-content-type, content-type-repeated, no-retry-after (429 or 503), last-modified-format (not IMF-fixdate), no-validator (no ETag or Last-Modified), vary-user-agent, encoding-unsupported. No score. Headers are as seen from our server; a CDN can answer differently by region or user agent. Caps: 6 s per request, 20 s per call. Public http(s) URLs on ports 80 and 443 only, every hop re-checked; a blocked or invalid URL returns 400. A URL that answers 4xx or 5xx returns 200 with the report. 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/http-header-checker
operationId: httpHeaderCheckerGet
parameters:
- name: url
in: query
required: true
description: The URL to check, like https://example.com/page.
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/HttpHeaderResponse'
'400':
$ref: '#/components/responses/BadRequest'
'429':
$ref: '#/components/responses/RateLimited'
post:
tags:
- HTTP headers
summary: List every response header of a URL, hop by hop
description: 'Sends one GET per hop and follows redirects by hand (at most 5), recording each hop''s status line, Location and header lines exactly as received: names keep their case and repeated headers stay separate (at most 100 lines per hop, values cut at 600 characters). The body is never read. For the final response it parses X-Robots-Tag (rules per user agent, as in Google''s X-Robots-Tag spec), Link (targets, rel and hreflang, RFC 8288), Content-Type, Cache-Control, ETag, Last-Modified, Vary, Content-Encoding, Content-Length and Retry-After, and lists issues with severity error, warning or note: client-error (4xx), server-error (5xx or 429), too-many-redirects, redirect-chain (more than 1 redirect), temporary-redirect (302, 303, 307), xrt-noindex, xrt-nofollow, xrt-nosnippet (nosnippet or max-snippet:0), xrt-unavailable-after(-past), canonical-relative, canonical-other, hreflang-relative, hreflang-no-self, no-content-type, content-type-repeated, no-retry-after (429 or 503), last-modified-format (not IMF-fixdate), no-validator (no ETag or Last-Modified), vary-user-agent, encoding-unsupported. No score. Headers are as seen from our server; a CDN can answer differently by region or user agent. Caps: 6 s per request, 20 s per call. Public http(s) URLs on ports 80 and 443 only, every hop re-checked; a blocked or invalid URL returns 400. A URL that answers 4xx or 5xx returns 200 with the report. 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/http-header-checker
operationId: httpHeaderCheckerPost
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/HttpHeaderRequest'
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/HttpHeaderResponse'
'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
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'
schemas:
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
HttpHeaderResponse:
type: object
required:
- input
- finalUrl
- status
- redirects
- error
- report
- limits
- checkedAt
- poweredBy
properties:
input:
type: string
finalUrl:
type: string
description: URL of the last response read.
status:
type:
- integer
- 'null'
description: Status of the last response read.
redirects:
type: integer
error:
type:
- string
- 'null'
description: timeout, network, too-many-redirects or null. The hops read before the error are still in report.
report:
type:
- object
- 'null'
description: Null only when no response arrived. { hops, redirects, final, topics, issues }. Each hop is { index, url, status, statusText, meaning (ok, no-content, redirect-permanent, redirect-temporary, not-modified, client-error, server-error or other), location (resolved), headers, omitted }. Each header is { name (case as received), value, cut, topic (x-robots-tag, link, content-type, cache-control, etag, last-modified, vary, content-encoding, content-length, location, retry-after or null) }. final is the last hop plus count, robots [{ bot (null for all crawlers), rule, value, known }], links [{ raw, url, absolute, rel, hreflang }], contentType, cacheControl, etag, lastModified, vary, contentEncoding, contentLength, retryAfter. Each issue is { code, severity (error, warning or note), detail }. There is no score field.
limits:
type: object
description: The caps used for this call.
checkedAt:
type: string
format: date-time
poweredBy:
$ref: '#/components/schemas/PoweredBy'
HttpHeaderRequest:
type: object
required:
- url
additionalProperties: false
properties:
url:
type: string
maxLength: 2000
description: The URL to check.
examples:
- url: http://example.com/
PoweredBy:
type: object
required:
- text
- url
properties:
text:
type: string
const: Powered by AY Rank
url:
type: string
format: uri