80trust / 100
Embeddings
by SCOPE Research API in AI models & inference
x402 APIPassing, checked 54 min ago
Generate text embeddings and semantic embedding vectors using OpenAI text-embedding-3-small for vector search, semantic similarity, clustering, retrieval, and RAG workflows.
POST https://scopeapi.dev/embeddings
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 593 ms typical, 593 ms slowest 5%
- Last check
- 54 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://scopeapi.dev/embeddings" \
-H "content-type: application/json" \
-d '{"input":"Semantic search for agent payments"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fscopeapi.dev%2Fembeddings
const res = await pay("https://scopeapi.dev/embeddings", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"input":"Semantic search for agent payments"}),
});
console.log(await res.json());Example input
{
"input": "Semantic search for agent payments"
}Example output
{
"dimensions": 1536,
"embeddings": [
{
"embedding": [
0.0123,
-0.0456,
0.0789
],
"index": 0
}
],
"endpoint": "/embeddings",
"model": "text-embedding-3-small",
"usage": {
"promptTokens": 6,
"totalTokens": 6
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 54 min ago | Passed | 402 | 779 ms | $0.003 |
| 4 h ago | Passed | 402 | 593 ms | $0.003 |
| 9 h ago | Passed | 402 | 577 ms | $0.003 |