{
  "x402Version": 2,
  "id": 7519,
  "slug": "7519",
  "resource": "https://animica.dev/x402/rerank",
  "description": "Give a query and up to 50 candidate snippets; get the top N by relevance with a score and a one-line reason. Indexes are returned so you can map straight back to your own objects without string matching. Priced per call. For high-volume use, buy prepaid credits (POST /x402/credits/buy) and send X-Animica-Credits on each request — no settlement, no gas, no per-call payment round trip. Paying in ANM on the animica:1 lane is also ~25% cheaper because we sponsor no gas there.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x5D17c40FD6b119dc6006C4Ab3C20a917FCaB2aCD",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5808",
      "maxTimeoutSeconds": 60
    },
    {
      "scheme": "exact",
      "network": "animica:1",
      "payTo": "anim1zqpsmegc0qcvzjfukm89xs0zeu3eqyyyel7kelehuszvwfarqypky2gr946ga",
      "asset": "ANM",
      "amount": "68989547038",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "animica": {
      "catalog": "https://animica.dev/.well-known/x402",
      "content_type": "application/json",
      "currency": "USDC",
      "description": "Give a query and up to 50 candidate snippets; get the top N by relevance with a score and a one-line reason. Indexes are returned so you can map straight back to your own objects without string matching. Priced per call. For high-volume use, buy prepaid credits (POST /x402/credits/buy) and send X-Animica-Credits on each request — no settlement, no gas, no per-call payment round trip. Paying in ANM on the animica:1 lane is also ~25% cheaper because we sponsor no gas there.",
      "documentation": "https://animica.dev/x402#product-rerank",
      "free_trial": {
        "endpoint": "POST /x402/rerank/trial",
        "limit_per_day": 5,
        "note": "Same code and same response shape as the paid endpoint. No payment, no payment headers. Quota is per client per UTC day; when it is spent this endpoint says so and points back here.",
        "price": "0",
        "url": "https://animica.dev/x402/rerank/trial"
      },
      "name": "Rerank search results",
      "openapi": "https://animica.dev/x402/openapi.json",
      "price": "0.005808",
      "product": "rerank",
      "provider": "Animica",
      "terms": {
        "amount_atomic": "5808",
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "chain_id": 8453,
        "network": "eip155:8453",
        "pay_to": "0x5D17c40FD6b119dc6006C4Ab3C20a917FCaB2aCD",
        "scheme": "exact"
      },
      "x402_version": 2
    },
    "bazaar": {
      "discoverable": true,
      "info": {
        "input": {
          "body": {
            "documents": [
              "a dice rolling API",
              "a weather forecast API"
            ],
            "query": "random number service"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "body": {
                "properties": {
                  "documents": {
                    "description": "2..50 strings",
                    "type": "array"
                  },
                  "query": {
                    "type": "string"
                  },
                  "top_k": {
                    "description": "how many to return (default 5)",
                    "type": "integer"
                  }
                },
                "required": [
                  "query",
                  "documents"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {},
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "discovery": {
      "discoverable": true,
      "info": {
        "input": {
          "bodyFields": {
            "documents": {
              "description": "2..50 strings",
              "required": true,
              "type": "array"
            },
            "query": {
              "required": true,
              "type": "string"
            },
            "top_k": {
              "description": "how many to return (default 5)",
              "required": false,
              "type": "integer"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "description": "ranked[] {index, score, reason}, model",
          "type": "json"
        }
      }
    }
  },
  "tags": [
    "animica",
    "bazaar",
    "discovery"
  ],
  "sourceHost": "animica.dev",
  "lastUpdated": "2026-08-22T08:40:52.838Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-22T08:40:52.659Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "animica.dev",
    "manifest_name": "animica.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}