AI Inference · x402 · early usage

Translate many independent strings in one request — each with a caller ID preserved in…

Translate many independent strings in one request — each with a caller ID preserved in the response — with per-item status, glossary and tone support, and partial success so one bad item never fails the batch, so agents can localize whole string tables in a s…

by netintel.dev · discovered, not yet claimed by its owner · updated 2026-10-08

30d calls2
30d payers2
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Translate many independent strings in one request — each with a caller ID preserved in the response — with per-item status, glossary and tone support, and partial success so one bad item never fails the batch, so agents can localize whole string tables in a single call.

Tags: translation · translate api · localization · language · llm translation · bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-08
Input example from Bazaar metadata
{
  "glossary": {
    "dashboard": "tableau de bord"
  },
  "items": [
    {
      "id": "greeting",
      "text": "Hello {{name}}"
    },
    {
      "id": "cta",
      "text": "Open the dashboard"
    }
  ],
  "target": "fr"
}
Output example
{
  "billed_items": 2,
  "failed": 0,
  "findings": [],
  "grade": "A",
  "item_count": 2,
  "items": [
    {
      "confidence": 0.98,
      "detected_language": "en",
      "id": "greeting",
      "status": "ok",
      "translated": "Bonjour {{name}}",
      "warnings": []
    },
    {
      "confidence": 0.98,
      "detected_language": "en",
      "id": "cta",
      "status": "ok",
      "translated": "Ouvrir le tableau de bord",
      "warnings": []
    }
  ],
  "pricing": {
    "base_usd": "$0.05",
    "included_items": 25,
    "overage_items": 0,
    "overage_per_item_usd": 0.002,
    "overage_usd": 0
  },
  "score": 100,
  "succeeded": 2,
  "target_language": "fr",
  "usage": {
    "input_tokens": 480,
    "model": "claude-haiku-4-5-20251001",
    "model_calls": 2,
    "output_tokens": 64
  },
  "warnings": []
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/29565.json for the price and payment options.
  3. Pay. Call GET https://netintel.dev/translate/batch. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.05 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Solana
Demand
2 calls · 2 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.050xdaDc335482AD545296Fd7b28518A251fFCbEb9Df300s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
USDC$0.058FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "amountUsd": 0.05,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "50000",
    "amountUsd": 0.05,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "properties": {
        "billed_items": {
          "description": "Item count used for pricing (base covers 25)",
          "type": "number"
        },
        "failed": {
          "description": "Items that failed — the batch still returns 200",
          "type": "number"
        },
        "findings": {
          "description": "Scored deductions, e.g. all_items_failed",
          "type": "array"
        },
        "grade": {
          "description": "Letter grade A-F derived from score",
          "type": "string"
        },
        "item_count": {
          "description": "Items submitted",
          "type": "number"
        },
        "items": {
          "description": "One entry per input item, in input order, each carrying your id: {id, status (\"ok\"|\"failed\"), translated, detected_language, confidence, warnings, reason}. A failed item has translated=null and a reason (structure_broken, unparseable, truncated, llm_unavailable, timeout).",
          "type": "array"
        },
        "pricing": {
          "description": "Base price, included items, and per-item overage beyond the included count",
          "type": "object"
        },
        "score": {
          "description": "0-100; 100 on a successful run, even with some items failed",
          "type": "number"
        },
        "succeeded": {
          "description": "Items translated and structurally verified",
          "type": "number"
        },
        "target_language": {
          "description": "ISO 639-1 code translated into",
          "type": "string"
        },
        "usage": {
          "description": "Model, model_calls, input_tokens, output_tokens",
          "type": "object"
        },
        "warnings": {
          "description": "Batch-level notes, e.g. that some items failed",
          "type": "array"
        }
      },
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "billed_items": 0,
    "failed": 0,
    "findings": [
      "value"
    ],
    "grade": "string",
    "item_count": 0,
    "items": [
      "value"
    ],
    "pricing": {},
    "score": 0,
    "succeeded": 0,
    "target_language": "string",
    "usage": {},
    "warnings": [
      "value"
    ]
  },
  "type": "string"
}

Examples

curl
curl -X POST 'https://netintel.dev/translate/batch' -H 'Content-Type: application/json' --data '{"glossary":{"dashboard":"tableau de bord"},"items":[{"id":"greeting","text":"Hello {{name}}"},{"id":"cta","text":"Open the dashboard"}],"target":"fr"}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATURE
JavaScript
const res = await fetch("https://netintel.dev/translate/batch", {
  "method": "POST",
  "headers": {
    "content-type": "application/json"
  },
  "body": "{\"glossary\":{\"dashboard\":\"tableau de bord\"},\"items\":[{\"id\":\"greeting\",\"text\":\"Hello {{name}}\"},{\"id\":\"cta\",\"text\":\"Open the dashboard\"}],\"target\":\"fr\"}"
});
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
import json
res = httpx.request("POST", "https://netintel.dev/translate/batch", json=json.loads("{\"glossary\":{\"dashboard\":\"tableau de bord\"},\"items\":[{\"id\":\"greeting\",\"text\":\"Hello {{name}}\"},{\"id\":\"cta\",\"text\":\"Open the dashboard\"}],\"target\":\"fr\"}"))
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
netintel.dev
Endpoint
https://netintel.dev/translate/batch
Machine-readable
/resources/29565.json