{"uid":"cap_ejaMEra8x8fJa4pOyyO7y","slug":"manylives-ai-rerank-515ada74","name":"ManyLives AI Rerank","description":"Pay-per-call tools for people building AI agents: live web search and page contents, prompt-injection checks, market data and risk sizing for trading agents, company profiles and quick AI. Ask us to turn a public website into a JSON endpoint. Pay per call, no account, free trial.","url":"https://api.manylives.me/paid/ai/rerank?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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)"}}},"responseSchema":{"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}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7X6N1zsAR20g8L9ROK2Oo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reranks a list of text documents by relevance to a given query using a BGE reranker model, returning scored and sorted results.","exampleAgentPrompt":"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.']","exampleUseCases":[{"title":"RAG pipeline passage reranking","prompt":"I've retrieved 20 chunks from my knowledge base for the question 'what is the refund policy?' — can you rerank them by relevance and give me the top 5 so I only send the most useful context to my LLM?"},{"title":"Candidate answer scoring for QA","prompt":"Score each of these 8 candidate answers against the question 'how does Base network settle transactions?' and tell me which one is most relevant with its confidence score."},{"title":"Agent-to-agent tool selection","prompt":"I have a list of 15 agent tool descriptions and a user request 'find me the current Bitcoin price' — rerank the tools by how well they match that request so I can pick the right one to call."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-05T11:27:36.177Z","isFirstParty":false,"canonicalSlug":"manylives-ai-rerank-515ada74"}