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.
openapi: 3.2.0
info:
title: Polyform — machine-payable data Rerank API
version: 1.0.0
description: Pay-per-call data endpoints for AI agents. USDC on Base via x402. No account, no API key — one micropayment per call.
x-guidance: 'Polyform sells single-answer data lookups priced per call. GET the catalog at / for the full list. Categories: vehicle (VIN decode, recalls, deal verdict, fuel economy), domain & email intelligence, SEC/EDGAR company facts & filing search, FDA recalls & drug labels, US weather (forecast, hourly, alerts, aviation METAR, travel-risk), geocoding, IP network & threat reputation, World Bank indicators, and an LLM inference gateway. Each call returns a 402 with x402 payment requirements; pay in USDC on Base and retry. All data derives from public/government sources or first-party telemetry.'
servers:
- url: https://api.polyform.org
tags:
- name: Rerank
paths:
/v1/rerank:
post:
operationId: v1_rerank
summary: Rerank documents (Cohere/Jina-compatible) — Cohere/Jina-style rerank for RAG…
tags:
- Rerank
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.002000'
protocols:
- x402: {}
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
model:
type: string
results:
type: array
items: {}
example:
model: bge-reranker-base
results:
- index: 2
relevance_score: 0.97
document:
text: Damaged items can be returned free within 30 days.
'402':
description: Payment Required
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
description: how do I return a damaged item
documents:
type: string
description:
- Refunds are issued within 5 days of receiving the return.
- Our store hours are 9am to 5pm.
- Damaged items can be returned free within 30 days.
required:
- query
- documents