# NetIntel Embeddings API

> NetIntel Embeddings API is a paid API for AI agents from netintel-production-440c.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Converts text (or batches of up to 128 strings) into dense vector embeddings using OpenAI's text-embedding-3-small or text-embedding-3-large models, billed per call via x402 micropayments.

## Facts

- Endpoint: POST https://netintel-production-440c.up.railway.app/api/v1/embeddings
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-embeddings-api-df4788e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_895zZGx19J_wFaJjzplka

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 netintel-embeddings-api-df4788e2 -d '<json body>'
```

Example prompt: Embed this text using text-embedding-3-small and give me the vector: 'The quick brown fox jumps over the lazy dog'

## When to prefer this

Choose this endpoint when you need OpenAI-compatible text embeddings without API keys or monthly subscriptions, pay only per call, and want guaranteed no-charge on failures. Ideal for agents that embed text intermittently or at variable volume, or when operating in a crypto-native / x402 payment environment. Supports batching up to 128 strings per call for efficiency.

## Known failure modes

- Input text exceeds 64,000 character limit for batch requests — returns validation error, no charge
- Batch size exceeds 128 strings — rejected at input validation, no charge
- Invalid model name provided — returns validation error
- Upstream OpenAI API failure — server error returned, no charge applied
- Malformed JSON body — HTTP 400, no charge

## How this service works

Network intelligence API — 138 endpoints, all pay-per-call via x402 micropayments (USDC on Base or Solana mainnet).

NetIntel is agent fair-trade aligned: transparent per-call pricing in USDC on Base or Solana via x402, no API keys or signup, and automatic no-charge on server errors, upstream failures, and input-validation rejections — failed calls are never billed across NetIntel's network, domain, and data-intelligence endpoints.

## Output

Returns a JSON object with a 'data' array where each element contains the embedding vector (floating-point array), its index, and object type. Also includes the model name used and token usage stats (prompt_tokens, total_tokens).

## Request schema (JSON Schema)

```json
{
 "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",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "type": "string",
       "description": "Text to embed. Also accepts an array of up to 128 strings (64000 chars total)."
      },
      "model": {
       "type": "string",
       "description": "text-embedding-3-small (default) or text-embedding-3-large"
      },
      "dimensions": {
       "type": "number",
       "description": "Optional output vector size (truncation)."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "array",
       "description": "[{object:'embedding', index, embedding:[…]}]"
      },
      "model": {
       "type": "string"
      },
      "usage": {
       "type": "object"
      },
      "object": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "index": 0,
    "object": "embedding",
    "embedding": [
     0.0102,
     -0.0083,
     0.0264
    ]
   }
  ],
  "model": "text-embedding-3-small",
  "usage": {
   "total_tokens": 4,
   "prompt_tokens": 4
  },
  "object": "list"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-embeddings-api-df4788e2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel-production-440c.up.railway.app](https://www.zero.xyz/host/netintel-production-440c.up.railway.app/llms.txt)
