{
  "x402Version": 2,
  "id": 4112,
  "slug": "4112",
  "resource": "https://api.delx.ai/api/v1/x402/rank-multilingual-texts",
  "description": "Multilingual RAG reranking API for agents: rank 2-16 passages, tools, routes, search results, or support answers against one query for $0.003 USDC. Returns original candidate indexes, relative cosine scores, and a durable SHA-256 receipt. No API key, subscription, raw embeddings, or provider controls.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "28heAMpFkeUJsL7o7apiK4oJwZWq2fUHinRwbgYYsemG",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "3000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "category": "search",
      "info": {
        "input": {
          "body": {
            "candidates": [
              "Generate a speech clip",
              "Remove the background from one image"
            ],
            "query": "como remover o fundo de uma foto?"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "candidate_count": 2,
            "generation_id": "ranking-example-generation-id",
            "gross_margin_usd": 0.002025,
            "input_sha256": "34a8815e9c57e321194d50f2ea8b64394019fb8038c9aefd7a9a306a5030fc31",
            "media_type": "application/json",
            "model": "beautyyuyanli/multilingual-e5-large",
            "provider": "replicate",
            "ranked": [
              {
                "candidate_index": 1,
                "score": 0.912314
              },
              {
                "candidate_index": 0,
                "score": 0.134221
              }
            ],
            "ranking_url": "https://api.delx.ai/api/v1/generated-rankings/ranking-example.json",
            "sale_price_usdc": 0.003,
            "sha256": "2d6c7c2b3f3c8e1e7b0d3a5b6e7f8a9b1234567890abcdef1234567890abcdef",
            "upstream_cost_usd": 0.000975
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "candidates": {
                    "description": "Unique candidate texts; returned by original zero-based index.",
                    "items": {
                      "maxLength": 2000,
                      "minLength": 1,
                      "type": "string"
                    },
                    "maxItems": 16,
                    "minItems": 2,
                    "type": "array",
                    "uniqueItems": true
                  },
                  "query": {
                    "description": "The multilingual search question or intent to rank against.",
                    "maxLength": 1000,
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "query",
                  "candidates"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "candidate_count": 2,
                "generation_id": "ranking-example-generation-id",
                "gross_margin_usd": 0.002025,
                "input_sha256": "34a8815e9c57e321194d50f2ea8b64394019fb8038c9aefd7a9a306a5030fc31",
                "media_type": "application/json",
                "model": "beautyyuyanli/multilingual-e5-large",
                "provider": "replicate",
                "ranked": [
                  {
                    "candidate_index": 1,
                    "score": 0.912314
                  },
                  {
                    "candidate_index": 0,
                    "score": 0.134221
                  }
                ],
                "ranking_url": "https://api.delx.ai/api/v1/generated-rankings/ranking-example.json",
                "sale_price_usdc": 0.003,
                "sha256": "2d6c7c2b3f3c8e1e7b0d3a5b6e7f8a9b1234567890abcdef1234567890abcdef",
                "upstream_cost_usd": 0.000975
              },
              "type": {
                "const": "json",
                "type": "string"
              }
            },
            "required": [
              "type",
              "example"
            ],
            "type": "object"
          }
        },
        "required": [
          "input",
          "output"
        ],
        "type": "object"
      },
      "serviceName": "Multilingual RAG Reranking API",
      "summary": "Multilingual RAG reranking API for agents: rank 2-16 passages, tools, routes, search results, or support answers against one query for $0.003 USDC. Returns original candidate indexes, relative cosine scores, and a durable SHA-256 receipt. No API key, subscription, raw embeddings, or provider controls.",
      "tags": [
        "x402",
        "multilingual",
        "rag-reranking",
        "reranking-api",
        "semantic-ranking",
        "semantic-search",
        "rerank",
        "retrieval",
        "rag",
        "passage-ranking",
        "context-selection",
        "agent-routing",
        "support-answer-ranking",
        "agent",
        "agentcash",
        "micro-usdc",
        "pay-per-call"
      ]
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.delx.ai",
  "lastUpdated": "2026-08-23T13:25:30.184Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-23T13:25:29.396Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.delx.ai",
    "manifest_name": "api.delx.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}