# GEDX402 Small Text Embeddings (x402, no API key)

> GEDX402 Small Text Embeddings (x402, no API key) is a paid API for AI agents from ged-x402-embed.jvalamis.workers.dev, paid per call via x402, $0.0036/call, status unknown (last checked 2026-09-14).

Generates small vector embeddings for one or more text strings, payable with USDC on multiple chains via x402 protocol — no API key required.

## Facts

- Endpoint: GET https://ged-x402-embed.jvalamis.workers.dev/v1/embed/small
- Price: $0.0036/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-small-text-embeddings-x402-no-api-key-e546ee24
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uvKoOoWKxXzvyrzLwajdn

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability gedx402-small-text-embeddings-x402-no-api-key-e546ee24
```

Example prompt: Embed the following sentence using a small model and pay with USDC — no API key: 'The quick brown fox jumps over the lazy dog'.

## When to prefer this

Choose this endpoint when you need lightweight text embeddings with no API key setup, want to pay per-call with USDC on Base, Polygon, Arbitrum, World, or Solana via the x402 protocol, and prefer a small/fast embedding model over a large one. Ideal for agents operating in crypto-native environments or privacy-sensitive contexts that avoid traditional API key management.

## Known failure modes

- Payment not received or insufficient USDC balance — 402 response with payment details
- Invalid or missing 'text'/'texts' fields — malformed request error
- Network or Workers runtime error — 5xx response
- Unsupported chain or wallet — payment rejection
- Empty text input — may return zero-length or error response

## How this service works

x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.

## Output

A JSON object with a 'data' array, each element containing an 'index' and an 'embedding' field (array of floats) corresponding to each input text string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  },
  "texts": {
   "type": "array",
   "items": {
    "type": "string"
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "index": 0,
    "embedding": [
     0.01,
     -0.02
    ]
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-small-text-embeddings-x402-no-api-key-e546ee24/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ged-x402-embed.jvalamis.workers.dev](https://www.zero.xyz/host/ged-x402-embed.jvalamis.workers.dev/llms.txt)
