{"uid":"cap_20w6YBPzZTT3Qp5YJ6TPP","slug":"api-paysponge-com-06e22ad2","name":"PaySponge Embeddings API (x402 Pay-per-Call)","description":"Service: OpenRouter API (https://api.paysponge.com/embeddings)","url":"https://api.paysponge.com/x402/purchase/svc_d5zgtpg00dvssgj28/embeddings","method":"POST","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":{"type":"object","properties":{},"additionalProperties":false},"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"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}},"additionalProperties":false}},"additionalProperties":false},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_NITUFOmoH13pkwYkzDMCM","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":"Generates vector embeddings for input text, gated by on-chain micro-payment via x402 (USDC on Base or SPL tokens on Solana)","exampleAgentPrompt":"Generate vector embeddings for the text 'the quick brown fox jumps over the lazy dog' using the PaySponge pay-per-call embeddings endpoint — I'll pay the $0.01 USDC fee on Base.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing a vector embedding (array of floats) representing the semantic content of the input text, delivered after on-chain payment confirmation via x402 protocol.","failureModes":["Payment not provided or insufficient — 402 Payment Required with payment instructions","Invalid or malformed input body — 400 Bad Request","Payment on unsupported chain or token — payment rejected","Network congestion on Base or Solana delays payment confirmation","Empty or missing input field — validation error"],"whenToPreferThis":"Choose this endpoint when you need vector embeddings and want to pay per-call with crypto (USDC on Base or SPL tokens on Solana) without an API subscription or API key — ideal for agents operating in Web3 contexts or autonomous payment pipelines using the x402 protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:39:14.143Z","isFirstParty":false}