# ManyLives AI Rerank

> ManyLives AI Rerank is a paid API for AI agents from api.manylives.me, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-10).

Reranks a list of text documents by relevance to a given query using a BGE reranker model, returning scored and sorted results.

## Facts

- Endpoint: POST https://api.manylives.me/paid/ai/rerank?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/manylives-ai-rerank-515ada74
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ejaMEra8x8fJa4pOyyO7y

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability manylives-ai-rerank-515ada74 -d '<json body>'
```

Example prompt: Rerank these 5 passages for me against the question 'how do agents pay per call?' and return the top 2 most relevant ones: ['Agents pay per request with a signed stablecoin authorisation.', 'The weather in Sydney is mild today.', 'Smart contracts settle micropayments automatically.', 'Bitcoin is a decentralized currency.', 'HTTP 402 is used for payment-required responses.']

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call semantic reranker without committing to a subscription — ideal for RAG pipelines, agentic tool selection, or QA systems that need to prioritize a short list of retrieved passages. It is especially useful for AI agents operating on the Base network that already handle x402 micropayments. Prefer this over full embedding-search stacks when you already have a candidate set and just need relevance ordering.

## Known failure modes

- Missing required 'query' field returns a validation error
- Missing required 'documents' field returns a validation error
- Exceeding 50 documents in the array may be rejected
- Documents exceeding 4,000 characters each may be truncated or rejected
- Insufficient USDC balance or failed x402 payment returns a 402 Payment Required response
- Malformed JSON body returns a 400 error

## How this service works

Pay-per-call tools for people building AI agents: live web search and page contents, point-in-time crypto market data and news for backtests (no lookahead), verifiable track records of 1,000 crypto strategies locked on the Base network, company profiles, quick AI and batch prices. Ask us to turn a public website into a JSON endpoint. Pay per call, no account, free trial.

## Output

Returns a JSON object containing the model name (bge-reranker-base), the original query, and a results array where each item includes the document text, its original index in the input array, and a float relevance score. Results are ordered from most to least relevant.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "examples": [
    "how do agents pay per call?"
   ],
   "description": "the question (required)"
  },
  "top_n": {
   "type": "string",
   "description": "optional, how many to return (default all)"
  },
  "documents": {
   "type": "string",
   "examples": [
    [
     "The weather in Sydney is mild today.",
     "Agents pay per request with a signed stablecoin authorisation."
    ]
   ],
   "description": "array of strings (required, max 50, each up to 4,000 characters)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "bge-reranker-base",
  "query": "how do agents pay per call?",
  "results": [
   {
    "text": "Agents pay per request with a signed stablecoin authorisation.",
    "index": 1,
    "score": 0.0415
   },
   {
    "text": "The weather in Sydney is mild today.",
    "index": 0,
    "score": 0
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/manylives-ai-rerank-515ada74/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.manylives.me](https://www.zero.xyz/host/api.manylives.me/llms.txt)
