ToolAssay

Rank up to 50 documents by relevance to a query in a single call

Rank up to 50 documents by relevance to a query in a single call - each document returned with its relevance probability, sorted highest first. Try GET /rank/sample.

Answeringour last check, 2026-09-28
1 of 1checks answered this week
870 msmedian answer time
$0.001listed price per call
$0.001price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://x402.agentindex.world/rank

CategoryEverything else
Provider hostx402.agentindex.world
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-28 valid payment request 402$0.001 870 ms

Example input (from the provider)

{
  "body": {
    "documents": [
      "A blog post comparing REST API versioning strategies: URL path, header, and query param versioning.",
      "A recipe for chocolate cake with step-by-step baking instructions.",
      "A guide to RESTful resource naming conventions and correct HTTP verb usage."
    ],
    "query": "best practices for REST API design"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "documents": {
              "description": "Up to 50 documents to rank by relevance to the query. Each truncated to 2000 characters before scoring.",
              "items": {
                "type": "string"
              },
              "maxItems": 50,
              "minItems": 1,
              "type": "array"
            },
            "query": {
              "description": "The query to rank documents against.",
              "type": "string"
            }
          },
          "required": [
            "query",
            "documents"
          ]
        },
        "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": {
      "properties": {
        "example": {
          "properties": {
            "documents": {
              "description": "Input documents, sorted by relevance score descending.",
              "items": {
                "properties": {
                  "document": {
                    "type": "string"
                  },
                  "score": {
                    "description": "Relevance probability, 0-1.",
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "x402_receipt": {
              "description": "Billing and provenance receipt for this call.",
              "type": "object"
            }
          },
          "required": [
            "documents"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON