# claw402 OpenAI-Compatible Embeddings via x402 Payment Gateway

> claw402 OpenAI-Compatible Embeddings via x402 Payment Gateway is a paid API for AI agents from claw402.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Generates text embeddings using an OpenAI-compatible API endpoint, paid per-call with USDC via the x402 protocol — no API key or registration required.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/ai/openai/embeddings
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/claw402-openai-compatible-embeddings-via-x402-payment-gateway-e8077d6a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mgxkXRmrV8sj23yJAS4I0

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 claw402-openai-compatible-embeddings-via-x402-payment-gateway-e8077d6a
```

Example prompt: Generate an embedding vector for the text 'The quick brown fox jumps over the lazy dog' — pay the $0.002 USDC fee from my wallet using x402, no API key needed.

## When to prefer this

Choose this endpoint when you need OpenAI-compatible text embeddings but want to avoid API key management or account registration, and are comfortable paying $0.002 USDC per call via an x402-compatible crypto wallet. Best for anonymous or low-volume embedding use cases with on-chain micropayment capabilities.

## Known failure modes

- Insufficient USDC balance in wallet — payment fails and no embedding is returned
- Malformed input schema — response may return error code and empty data array
- x402 payment protocol not supported by client — call cannot complete
- Underlying OpenAI proxy unavailable — service timeout or error response
- Invalid or missing input properties — returns error code with empty data

## How this service works

Backed by vergex.trade. Pay for any API with USDC. No API keys. No registration. Just a wallet.

## Output

Returns a JSON object with a code (0 for success) and a data array containing the embedding vector for the input text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": 0,
  "data": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/claw402-openai-compatible-embeddings-via-x402-payment-gateway-e8077d6a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from claw402.ai](https://www.zero.xyz/host/claw402.ai/llms.txt)
