{"uid":"cap_OSFpB7Rl65999yKMcWt3q","slug":"delx-commerce-similarity-api-fb6db3e1","name":"Delx Commerce Similarity API","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/similarity?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","bodyType","body"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jjouMXrMSEzUS46Ws1hok","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes semantic similarity between two inputs via a pay-per-result HTTP API settled in USDC on Base or Solana","exampleAgentPrompt":"Compare these two product descriptions and give me a similarity score — 'Ultra-light running shoes with foam sole' versus 'Lightweight athletic sneakers with cushioned base' — I need to know how semantically close they are so I can deduplicate my catalog.","exampleUseCases":[{"title":"Deduplicating product catalog entries","prompt":"I have two product titles — 'Wireless noise-cancelling headphones, black' and 'Black over-ear Bluetooth headphones with ANC' — can you score how similar they are so I can decide if they're duplicates?"},{"title":"Evaluating RAG answer quality","prompt":"Check how similar this generated answer is to the ground-truth reference: generated is 'The capital of France is Paris, known for the Eiffel Tower' and the reference is 'Paris serves as France's capital city and is famous worldwide for landmarks like the Eiffel Tower.' Give me a similarity score."},{"title":"Ranking resume candidates against job description","prompt":"Score the semantic similarity between this job description — 'Senior Python engineer with ML ops experience' — and this resume excerpt — 'Five years of Python development, deployed ML pipelines on AWS' — so I can rank candidates."}],"resultDescription":"A JSON object containing a similarity score (typically a float between 0 and 1) indicating how semantically close the two provided inputs are, along with any additional metadata returned by the service.","failureModes":["Missing required fields 'input' or 'output' returns a 400 validation error","Invalid bodyType enum value causes request rejection","Payment failure or insufficient USDC balance returns 402 Payment Required","Malformed JSON body returns parsing error","Empty or null body fields may return a low-confidence or error result","Network timeout on the Base/Solana payment settlement layer"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, no-signup, pay-per-call semantic similarity score settled instantly in USDC on Base or Solana via x402. Prefer it over hosted embedding APIs when you want verifiable per-result billing without a subscription, or when operating in an agentic context where crypto micropayments are already in the workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:01.489Z","isFirstParty":false,"canonicalSlug":"delx-commerce-similarity-api-fb6db3e1"}