AGENT API
MCP COMPATIBLESmitheryΒ·Glama
MCP Β· SMITHERYMCP Β· GLAMA

eSIM connectivity for AI agents

Let your agent buy data plans on behalf of users, manage IoT device connectivity, and respond to usage events β€” all through a clean REST API. No human checkout required.

Five payment rails, webhook-driven events signed with Ed25519, per-key spend caps, and an OpenAPI spec your toolchain can import directly.

Get an API keyBrowse API docs β†’

Built for every kind of autonomous agent

Software agents booking trips. Physical devices running unattended in the field. Fleet systems managing thousands of SIMs. The API works the same way for all of them.

πŸ€–
Robotics
Field robots and patrol systems
A security robot roaming a construction site or parking lot needs independent internet β€” not a hotspot from a human nearby. The agent provisions an eSIM on first boot, monitors data usage, and tops up before the tank runs dry.
πŸš›
Fleet / M2M
AI fleet and dashcam agents
Connected trucks, autonomous delivery vans, and AI dashcams cross regions and borders. eSIM lets the fleet agent switch carriers for better signal, provision new devices centrally, and stream telemetry without a physical SIM swap.
πŸ‘“
Wearables
Wearable AI devices
An AI pin, smart glasses, or voice assistant that needs cloud inference cannot rely on your phone's hotspot. The device agent manages its own eSIM plan β€” standalone connectivity, no tether required.
πŸͺ
Kiosks
Retail and hospitality kiosks
A portable AI concierge or checkout terminal deployed at a pop-up shop, hotel, or airport needs isolated cellular rather than the venue's Wi-Fi. Remote provisioning means zero on-site IT.
🧳
Consumer AI
Agent buys on behalf of a traveler
A travel-planning agent detects an upcoming trip, picks the best-value plan for the destination, charges the user's saved card, and delivers the QR code via email β€” before the user even opens the app.
πŸŒͺ️
Emergency
Disaster response drone swarms
After an earthquake or wildfire, local Wi-Fi is gone. A drone swarm coordinating rescue operations needs dynamic carrier selection across whatever network is still standing. eSIM makes that programmable.
πŸ“‘
IoT / Sensors
Industrial IoT monitoring
Sensors on oil fields, farms, and remote infrastructure run unattended for months. When a device's data runs low, the agent tops up automatically β€” no truck roll, no human on-site.
πŸ”„
Automation
Automatic top-up on usage events
Usage webhooks fire when remaining data crosses a threshold. Your automation script catches the event and purchases a renewal plan in the same request cycle β€” the device never hits a dead connection.
See dedicated guides for each device category β†’

Purchase flow β€” pick your rail

Find the best plan for a destination, pay with your preferred rail, get back a QR code β€” no browser, no UI. Switch tabs to see the same flow in Stripe, LTE Token, or USDC.

import httpx

API = "https://lte.app"
KEY = "lteagent_your_key_here"

# 1. Find plans for a destination
plans = httpx.get(
  f"{API}/v1/agent/plans",
  params={"country_iso2": "JP", "min_gb": 5},
  headers={"Authorization": f"Bearer {KEY}"},
).json()["plans"]

best = min(plans, key=lambda p: p["price_usd"])

# 2. Purchase with Stripe (card pre-attached to account)
order = httpx.post(
  f"{API}/v1/agent/checkout/stripe",
  json={
    "package_id": best["package_id"],
    "country_iso2": "JP",
    "payment_method_id": "pm_card_on_file",
    "idempotency_key": "trip-2026-05-jp-01",
  },
  headers={"Authorization": f"Bearer {KEY}"},
).json()

# 200 response includes rate-limit remaining in body:
# { "order_id": "...", "status": "ready", "remaining": { "today_usd": 1.50, "this_month_usd": 91.50 } }
print(order["qr_code_url"])  # β†’ ready to scan

What's included

Payment rails
Stripe off-session Β· Stripe Link SPT Β· LTE Token Β· USDC via MPP Β· Crypto (BTC / SOL / USDT)
Spend controls
Per-key daily & monthly USD caps
Usage webhooks
Ed25519-signed, 4-attempt retry
Coverage
196 countries, 500+ carrier partnerships
Machine-readable spec
OpenAPI 3.1 at /v1/agent/openapi.json
Auth
Bearer token (lteagent_ prefix)
Key management
Create, list, revoke via REST
Rate limiting
Per-key spend caps; 200 responses include remaining headroom

Rate limits & response headers

Every successful 200 response includes the remaining spend headroom in the body so your agent can decide whether to continue ordering without a separate spend-check call. Every response also carries four rate-limit headers.

X-RateLimit-Limit
Max requests per window for keyless (x402) callers.
X-RateLimit-Remaining
Requests left in the current window.
X-RateLimit-Reset
Unix timestamp when the window resets.
X-LTE-Key-Version
First 8 hex chars of your webhook public key β€” use it to select the right verification key without slicing the full hex string.

200 (approved) β€” the body always includes a remaining field with today_usd and this_month_usd headroom after the purchase.

200 β€” approved
HTTP/1.1 200 OK
Content-Type: application/json
X-RateLimit-Limit: 30
X-RateLimit-Remaining: 27
X-RateLimit-Reset: 1748736000
X-LTE-Key-Version: a1b2c3d4

{
  "approved": true,
  "purchase_usd": 8.00,
  "remaining": {
    "today_usd": 2.00,
    "this_month_usd": 92.00
  }
}
429 β€” spend cap hit
HTTP/1.1 429 Too Many Requests
Content-Type: application/json
X-RateLimit-Limit: 30
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 1748736000

{
  "error": "spend_limit_exceeded",
  "limit": "daily",
  "used_usd": 10.00,
  "cap_usd": 10.00,
  "reset_at": "2026-05-13T00:00:00+00:00"
}

Get started with MCP

LTE.app ships a native Model Context Protocol server. Add one block to your AI assistant config and it can discover plans, check your spend cap, and purchase eSIMs β€” without you copy-pasting anything. The server is listed on Smithery and Glama.

1
Generate an API key

Create a free LTE.app account in the mobile app, then visit /agents/keys to generate a key. Store it β€” it's shown once.

2
Add to Claude Desktop config

Open ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows) and add:

// claude_desktop_config.json  (macOS: ~/Library/Application Support/Claude/)
{
  "mcpServers": {
    "lte": {
      "url": "https://lte.app/v1/mcp",
      "headers": { "Authorization": "Bearer lteagent_your_key_here" }
    }
  }
}

Works identically for Cursor (.cursor/mcp.json) and Windsurf (~/.codeiumrc/mcp_config.json).

3
Make your first tool call

Restart Claude Desktop and ask: β€œFind me the cheapest 5 GB eSIM plan for Japan and buy it with my LTE tokens.” Claude will call discover_esim_plans, then check_spend_headroom, then purchase_esim β€” all in one turn.

Ready to integrate?

Create a free account, generate a key, and send your first request in under 5 minutes. The OpenAPI spec imports directly into LangChain, Postman, or any HTTP client.

Create API keyView API reference
MCP Server

Use with Claude, Cursor & Windsurf

LTE.app ships a native Model Context Protocol server. Add one line to your AI assistant config and it can discover plans, check your budget, and purchase eSIMs β€” no copy-pasting required.

Listed on Smithery and Glama β€” search β€œeSIM” to find it.

{ "mcpServers": { "lte": { "url": "https://lte.app/v1/mcp", "headers": { "Authorization": "Bearer lteagent_your_key_here" } } } }

Frequently asked questions

What is the LTE.app Agent API?
A REST API that lets AI agents, automation scripts, and IoT systems purchase eSIM plans and receive usage events β€” without any human clicking through a checkout flow. Your agent sends a signed POST request and gets back an eSIM QR code.
Which AI frameworks does it work with?
Any framework that can call HTTP endpoints: LangChain, AutoGPT, CrewAI, LlamaIndex, n8n, Zapier, and plain Python or Node.js scripts. The OpenAPI spec at /agents/docs lets LangChain and similar tools auto-generate typed wrappers.
How does billing work?
Five rails: (1) Stripe off-session β€” attach a card once and the agent charges per purchase; (2) LTE Token balance β€” pre-fund with tokens (1,000 LTE = $1.00 USD), atomic debit; (3) Stripe Link SPT β€” the agent uses a Shared Payment Token from the user's Link wallet (agents register at link.com/agents); (4) USDC via Stripe MPP β€” machine-to-machine stablecoin payments as low as $0.01; (5) Crypto (BTC, SOL, USDT and others) via SimpleSwap β€” LTE.app issues a deposit address, provisions the eSIM on-chain confirmation. All rails respect per-key daily and monthly spend caps.
Does this work for physical AI devices, not just software agents?
Yes β€” the API is designed for any autonomous system that needs internet connectivity: robots, AI dashcams, wearable devices, IoT sensors, emergency drones, and retail kiosks. The device or its management system calls the API; a human never needs to touch the checkout flow. See lte.app/agents/use-cases for examples by device category.
Does Stripe Link for Agents work with this API?
Yes, two ways. Path A: if the agent receives a one-time-use virtual card from Stripe Link, convert it to a Stripe payment method ID and use payment_method: "stripe". Path B (native SPT): pass payment_method: "stripe_link" with the Shared Payment Token directly; we settle it as a normal PaymentIntent. Agents get SPTs by registering at link.com/agents. See docs.stripe.com/agents.
How do I receive usage events?
Register a callback_url when you create an API key. LTE.app sends POST requests to that URL with a flat JSON payload for each usage event (low-data warning, plan expired, top-up needed). Every webhook is signed with Ed25519 β€” verify with the webhook_public_key_hex returned at key creation.
How do I get an API key?
Create a free LTE.app account in the mobile app, then visit lte.app/agents/keys to generate a key from your account dashboard. You get the raw key once on creation β€” store it immediately.
What are spend controls?
Each API key carries a daily_limit_usd and monthly_limit_usd. If a purchase would breach either cap, the API returns 429 spend_limit_exceeded with the reset timestamp. You set these when creating a key and can revoke/recreate a key to change them.
Can agents pay in USDC or other crypto?
Yes β€” two crypto rails are available. For USDC stablecoins, use payment_method: "usdc" (Stripe MPP): call GET /v1/agent/payment-address to get the deposit address on the Base network, transfer the exact plan amount in USDC, then pass the returned payment_ref as usdc_payment_ref when placing your order. For other cryptocurrencies (BTC, SOL, USDT), use payment_method: "crypto" with a currency field β€” LTE.app issues a SimpleSwap deposit address and provisions the eSIM once the on-chain payment confirms.
Can an agent send messages to the user's device over the eSIM?
Yes β€” the Agent Relay is the reverse channel to the Agent API. Every LTE.app device gets a private webhook URL and MQTT topic. Your agent POSTs a JSON body ({"text": "...", "agent": "your-agent-name"}) to the webhook URL and the message appears in the user's relay inbox instantly, with a push notification. No API key or account is required β€” the anon ID in the URL acts as the write token. See lte.app/blog/agent-relay-hub for the full integration guide.
What is the difference between the Agent API and the Agent Relay?
The Agent API (POST /v1/agent/orders) is outbound: an external system provisions eSIM connectivity. The Agent Relay (POST /api/relay/{anon_id}/message) is inbound: an external system sends a message to the user's device. They are complementary β€” an agent can both provision an eSIM and send a notification to the user via the relay when the eSIM is ready or when a usage threshold is crossed.
Agent API β€” eSIM connectivity for AI agents, robots, IoT & fleet | LTE.app