Api Endpoint

AIPayGen

Score and sort up to 50 passages, documents or search results by how well they answer a query (BGE reranker). Drop-in quality boost for RAG and search pipelines.

Open interactive test console

Offering

Provider
aipaygen.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://aipaygen.com/v1/rank_texts
MIME type
Not provided
First seen
2026-11-16T17:39:40.763Z
Last seen
Tags
AI, LLM, Inference

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0xebA22e8CD05Cb72A2F913099D6cCA666DD6D35B0"
  }
]

Observed health

Status
Healthy
Latest latency
521 ms
Average latency
183 ms
HTTP status
204
Last checked
Reachability
100% over 4 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": false,
      "properties": {
        "documents": {
          "description": "Passages to rank.",
          "items": {
            "maxLength": 4000,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 50,
          "minItems": 1,
          "type": "array"
        },
        "query": {
          "description": "The question or search query.",
          "maxLength": 1000,
          "minLength": 1,
          "type": "string"
        },
        "top_k": {
          "description": "Return only the best N. Default: all.",
          "maximum": 50,
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "query",
        "documents"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}