{"uid":"cap_Tk-zpBX7xArvvjvrzyzL2","slug":"glianaai-rerank-a1d6f71d","name":"GlianaAI Rerank","description":"One endpoint for 90+ generative AI models, live market data, SEC filings and identity APIs — image, video, music, speech, LLM chat, crypto and FX rates, DEX liquidity, gas, US company fundamentals and insider trades, document OCR and face matching. Pay per request in USDC on Tempo, Base, Solana, Algorand or BNB Chain with no signup, or top up a prepaid balance in rupiah.","url":"https://api.glianalabs.com/x402/tools/rerank?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"tool":"tools/rerank"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8_QbXbdjIdvy8aWedpwMC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 documents or passages by relevance to a query using AI-powered scoring","exampleAgentPrompt":"Rerank these 10 retrieved passages by how relevant they are to the query 'what are the side effects of ibuprofen?' and return them sorted with relevance scores.","exampleUseCases":[{"title":"RAG pipeline context reranking","prompt":"I've retrieved 15 chunks from my knowledge base for the question 'how do I configure SSL on nginx?' — rerank them by relevance so I can send only the top 3 to the LLM."},{"title":"Search result quality improvement","prompt":"I got back 20 web search snippets for 'best electric vehicle tax credits 2024' — can you rerank them by how directly they answer that question, and give me relevance scores for each?"},{"title":"Candidate answer selection","prompt":"I have 8 candidate answers generated by different models for the question 'explain transformer attention' — rerank them by quality and relevance so I can pick the best one to show the user."}],"resultDescription":"Returns the input documents reordered by relevance score, with each document assigned a numerical relevance/confidence score relative to the query. The response is JSON with the tool identifier and reranked list.","failureModes":["Empty or missing query causes undefined ranking behavior","Malformed body type (must be json, form-data, or text) returns 400","Exceeding document count limits may cause truncation or error","Payment failure (insufficient USDC balance) returns 402","Rate limiting if too many concurrent requests"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call reranking step in a RAG or search pipeline without managing your own cross-encoder infrastructure. Prefer it when you want no-signup USDC micropayment billing and access to multiple underlying reranker models through a single API. It is especially suitable for agents that need to dynamically improve retrieval quality on-the-fly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T18:43:19.263Z","isFirstParty":false,"canonicalSlug":"glianaai-rerank-a1d6f71d"}