{"uid":"cap_njH-dWNQYagWBGYS3uS7s","slug":"minia2a-binary-search-api-57d6d788","name":"minia2a Binary Search API","description":"Discover 1,600+ verified x402 agent APIs — crypto data, web scraping, AI inference, security, and more. 5 free trial calls per signed wallet. 5.2M+ requests served. Pay per call via x402 on Base — no subscription, no API keys. Verified — not just listed, tested.","url":"https://minia2a.uk/x402/binarySearch?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","properties":{"type":{"type":"string"},"method":{"type":"string"},"bodyType":{"type":"string"},"queryParams":{"type":"object"}}},"output":{"type":"object","properties":{"type":{"type":"string"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tNfKtY9a0el0GkR-oa07x","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a binary search operation on an input dataset via a pay-per-call x402 API endpoint","exampleAgentPrompt":"Run a binary search for me on a sorted integer array — use a GET request with query parameters specifying the target value and array bounds, and tell me the result index.","exampleUseCases":[{"title":"Locating a value in sorted data","prompt":"I have a sorted list of product IDs and I need to find whether ID 48291 exists in it — can you run a binary search against the minia2a endpoint using query params for the target and range?"},{"title":"Algorithm verification for developer testing","prompt":"I'm testing my sorted dataset and want to confirm binary search returns the correct position for the value 'gamma' — can you call the binary search API with method GET and the appropriate query parameters?"},{"title":"Efficient search in agent data pipeline","prompt":"My agent pipeline needs to quickly locate a threshold value inside a large sorted array without scanning every element — can you use binary search with the input type set to object and the target in the query params?"}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating whether the binary search operation succeeded, along with any computed result such as the found index or position of the target element in the input.","failureModes":["Missing required 'input' field returns a validation error","Unsorted input data produces incorrect or undefined results","Invalid 'type' or 'method' enum values may cause rejection","Payment failure via x402 protocol blocks the call","Malformed queryParams object causes parsing errors","Rate limits or wallet verification failures prevent access"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-call binary search computation without managing infrastructure or API keys, especially in x402-enabled agent workflows on Base where micro-payment per call is acceptable and you want a verified, tested API rather than a self-hosted utility.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:35:57.641Z","isFirstParty":false,"canonicalSlug":"minia2a-binary-search-api-57d6d788"}