{"uid":"cap_rwwg3pHuvF1qrwViARKMx","slug":"signalharness-bm25-search-result-ranker-17491fb7","name":"SignalHarness BM25 Search Result Ranker","description":"Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.","url":"https://signalharness.ai/api/agent/services/search_result_bm25_rank/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request_json":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["Verify the caller-supplied data before relying on this result."],"service_id":"search_result_bm25_rank","analysis_json":"{\"example\":\"schema-valid caller-supplied data\"}","evidence_scope":"caller_supplied_data"},"status":"succeeded","receipt":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","usage":[],"status":"succeeded","network":"eip155:8453","artifacts":[],"endedAtMs":0,"latencyMs":0,"paymentId":"example-payment","receiptId":"example-receipt","requestId":"example-request","serviceId":"search_result_bm25_rank","executionId":"example-execution","startedAtMs":0,"amountAtomic":"15000","resultSha256":"864f795ae6129627c4a8e62adf2b9ff21d145ee4a81aa39c84595540fb21f21f","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FDE7vUCoxiYQ_GOe2dyjZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Ranks a set of search results using BM25 relevance scoring against a caller-supplied query and document corpus","exampleAgentPrompt":"I have a list of search results and a query — can you rank them by BM25 relevance so the most relevant documents come first? Here's the query: 'machine learning deployment' and here are the 10 candidate documents.","exampleUseCases":[{"title":"Re-rank API discovery results","prompt":"I searched for 'payment processing APIs' and got back 20 results — can you re-rank them using BM25 so the most relevant ones to that exact phrase appear at the top?"},{"title":"Sort product search results by relevance","prompt":"I have a list of 50 product descriptions and a user's search query 'wireless noise cancelling headphones under $100' — rank them by BM25 relevance score so I can show the best matches first."},{"title":"Rank internal knowledge base articles","prompt":"Given this user question 'how do I reset my two-factor authentication?' and these 15 knowledge base articles, use BM25 to rank which articles are most relevant to show first."}],"resultDescription":"Returns a JSON object containing BM25-ranked search results with analysis JSON, a status field, warnings about caller-supplied data, and a full payment receipt including amount, network, service version, and execution metadata on Base (USDC).","failureModes":["Malformed request_json input returns a validation error","request_json exceeds 65536 character limit","Caller-supplied data cannot be parsed as valid JSON","Insufficient USDC balance to cover $0.015 per-call fee","Service temporarily unavailable returns non-200 status","BM25 ranking fails if document corpus is empty or missing required fields"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call BM25 keyword relevance ranker without setting up your own search infrastructure. Ideal for agents that need to re-rank or sort a small-to-medium set of candidate documents or search results on demand, and want a verifiable on-chain receipt of the computation. Prefer this over embedding-based semantic search when exact keyword matching and term frequency matter most.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T07:02:40.026Z","isFirstParty":false}