{"uid":"cap_c5GqMhciR0lg-21wxM8-2","slug":"pocket-network-cross-encoder-reranking-7f9f9923","name":"Pocket Network Cross-Encoder Reranking","description":"Pay-per-call access to Pocket Network services. No account, no API key.","url":"https://agent.pocket.network/v1/reranking?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"The query to rank against."},"documents":{"type":"array","items":{"type":"string"},"description":"The candidate documents."}}},"responseSchema":{"type":"json","example":{"data":{},"portal":{"serviceId":"reranking","provenance":"third-party-supplier","schemaCheck":"passed"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_x6YykTmdDl3uHgU9IqQ6C","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 candidate documents by relevance to a query using a fixed-precision cross-encoder model, returning a deterministically ordered ranking.","exampleAgentPrompt":"I have a user question — 'What are the side effects of ibuprofen?' — and 8 retrieved passages from our knowledge base. Rerank those passages by how relevant they are to the question so I can feed the top ones to the LLM.","exampleUseCases":[{"title":"RAG pipeline context reranking","prompt":"I just retrieved 20 document chunks from our vector store for the query 'how do I reset my 2FA device'. Rerank those chunks by relevance to that query so I only pass the top 5 to the language model."},{"title":"Legal document relevance sorting","prompt":"I have a list of 15 contract clauses and I need to know which ones are most relevant to the question 'what are the termination conditions'. Can you rerank them so the most relevant ones come first?"},{"title":"Customer support answer ranking","prompt":"We have 10 candidate FAQ answers retrieved for the customer question 'my order hasn't shipped after 7 days'. Rerank these answers by relevance to that question so the best match surfaces at the top."}],"resultDescription":"Returns a JSON object containing the reordered ranking of the submitted documents, sorted from most to least relevant to the query, along with relevance scores for each document.","failureModes":["Empty documents array returns an error or empty ranking","Query string missing causes request rejection","Very long documents or large arrays may hit payload size limits","Fixed model precision may produce tied scores for semantically similar documents","Non-English or multilingual content may produce degraded ranking quality"],"whenToPreferThis":"Use this endpoint when you need deterministic, pay-per-call cross-encoder reranking without an API key or account setup, especially in RAG pipelines where retrieved document order directly affects LLM output quality. Prefer this over embedding-based similarity rankings when you need a cross-encoder's higher-accuracy pairwise relevance scoring. Ideal for agents that process variable query loads and want per-request USDC billing with no subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:17:54.533Z","isFirstParty":false,"canonicalSlug":"pocket-network-cross-encoder-reranking-7f9f9923"}