{"uid":"cap_a9ci0P8F6AcmjTVpYKGLq","slug":"primeapi-ai-embeddings-56527b91","name":"PrimeAPI AI Embeddings","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://prime-api-seven.vercel.app/api/ai/embeddings","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.172356","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.172356/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.172356","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.172356","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yek3CgVDzr29Vt6nK2CvE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.172356","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 a text query or input string, enabling semantic similarity and search operations.","exampleAgentPrompt":"Generate a vector embedding for the text 'sustainable energy solutions for urban environments' so I can use it for semantic similarity search in my vector database.","exampleUseCases":null,"resultDescription":"Returns an object containing the vector embedding (an array of floating-point numbers) representing the semantic content of the input text, suitable for similarity comparisons, clustering, or storage in a vector database.","failureModes":["Empty or missing query string returns a validation error","Overly long input text may be truncated or rejected","Payment failure in USDC on Base results in 402 response blocking the call","Generic 500 error if the underlying embedding model is unavailable","Malformed JSON body returns a 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need to generate text embeddings via a pay-per-call USDC model on Base without managing API keys, especially useful for agents operating in crypto-native or x402 payment ecosystems that need one-off embedding calls without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:41:00.370Z","isFirstParty":false}