# PacketExchange > PacketExchange, by Minutes Network (Minutes Network FZ-LLC, https://minutesnetwork.io), is the live carrier marketplace for wholesale voice and SMS, connecting carriers, operators and developers on one exchange. Carriers list voice and SMS routes in about two minutes from their own rate sheet and reach buyers worldwide, with every call settled to the seller as it ends. Operators run a hosted Class-4 switch with no hardware, operated in plain English through AI Control, with traffic, margin and settlement in one live view. Developers get one API key and one prepaid balance for SMS, voice calls, the Verify API (one-time codes by SMS or voice call, or call-in verification where the user calls your own phone number), phone numbers, AI voice agents, least-cost routing and caller ID tests, at the route rate plus a platform fee of 2%, capped at $0.001 per message or call. Key facts: - REST API base URL: https://packetexchange.io/api/v1. JSON over HTTPS. Authenticate with `Authorization: Bearer `. - API keys: live keys (`px_live_sk_...`) send real traffic and charge the balance; test keys (`px_test_sk_...`) simulate against test credit and return `simulated: true`. Keys issued before 18 Nov 2026 start `wmmn_live_sk_` / `wmmn_test_sk_` and keep working. Keys can be limited to scopes such as `sms:send`, `voice:send`, `verify:write`, `routes:read`, `numbers:write`, `dialer:write` and `billing:write`. - Pricing: the route rate plus 2% (0.5% over your own SIP trunk), capped at $0.001 per message or call. Prepaid: top up from $5 by card or crypto, from $100 by wire, or with USDC on Base over x402 ($5 to $50,000). No contract, no monthly fee. - Money fields are USD decimal strings with exactly 6 places, for example "0.012500". - Errors: `{ "success": false, "error": { "code", "message", "details" } }`. 429 responses carry Retry-After. Send `X-Idempotency-Key` on requests that send, dial or buy. - The SMS send response status is the send-time outcome (accepted, sent or failed). Delivered or failed follows on GET /comms/sms/{id} and the sms.delivered / sms.failed webhooks only when the route returns a carrier receipt; a message that fails on its receipt is refunded. - Route quality on listings: `measured` carries ASR, ACD, NER and median PDD measured by PacketExchange on real buyer calls, once a listing has at least 50 calls from at least two buyers (null before that); expectedAsr, expectedAcd and expectedPdd are the figures the seller states. Seller identities are never exposed. - MCP: https://packetexchange.io/mcp/http (Streamable HTTP, stateless). Send the API key as the connection's `Authorization: Bearer` header; no tool takes a key argument. - Verify call-in: runs on your own phone number. Buy one in the DID Store in the country of the people you verify and switch it on with POST /verify/call-in/numbers (or in the control panel); while on, it never rings. POST /verify/start with channel `call_in` then returns `callNumberDisplay`, your number, which the user calls from the phone being verified; the call is matched by caller ID and ended unanswered (free for the caller). Each call-in number verifies numbers in its own country. Price: the number's monthly price plus $0.01 per approved verification, expired ones free, no message fees. Result via GET /verify/{id} or the `verification.approved` / `verification.expired` webhooks. A caller ID is weaker proof than a code: use call-in for sign-up and phone confirmation, codes for account recovery and payments. - Webhooks are signed: `X-PX-Signature: v1=.">`. Reject timestamps more than 5 minutes old. ## Carriers and operators - [List your routes](https://packetexchange.io/list-instantly): Sell voice and SMS termination: upload the rate sheet you already have, destinations and rates are read for you, and you sign in at the end. Free to list; the seller keeps its full rate. - [The Switch and AI Control](https://packetexchange.io/solutions/switch): A hosted Class-4 switch with least-cost routing, failover, A-Z rating, invoicing and netting, run in plain English through AI Control. No hardware. Includes PacketScope SIP packet views and CallGuard call screening. - [Why PacketExchange](https://packetexchange.io/why): How the platform widens margins: no hardware or licences, live settlement, automated operations. - [Marketplace](https://packetexchange.io/marketplace): Every listed route with its rate, caller ID type, capacity and quality. ## Developer docs - [Developer platform](https://packetexchange.io/developers): What the API does, how to start and what it costs. - [API reference](https://packetexchange.io/api-docs): Every endpoint, request, response, error code, scope and rate limit. - [API reference index](https://packetexchange.io/api-docs/reference): Every operation, grouped, each linking to its parameters and schemas. - [OpenAPI specification](https://packetexchange.io/openapi.json): The OpenAPI 3 document for the public REST API, as JSON (about 2 MB: every published operation). - [OpenAPI developer subset](https://packetexchange.io/openapi-lite.json): Start here: the same specification cut to what an integration needs (SMS send and status, voice calls, Verify, phone numbers, route search and pricing, balance, webhooks, auth), under 200 KB. YAML: https://packetexchange.io/openapi-lite.yaml. - [SDKs](https://packetexchange.io/developers/sdks): Node.js and Python SDKs, the OpenAPI spec and the MCP server. - [Example gallery](https://packetexchange.io/developers/examples): Runnable examples for every product in eight languages. - [API changelog](https://packetexchange.io/developers/changelog): Dated changes to the API and what keeps working. - [Documentation](https://packetexchange.io/docs): Guides for the marketplace, the Switch and the API. ## Quickstarts - [Send an SMS](https://packetexchange.io/developers/quickstarts/send-sms): Send a transactional text from a number or an alphanumeric sender, and get its cost back in the response. Endpoints: POST /comms/sms, GET /comms/sms/{messageId}. Markdown: https://packetexchange.io/developers/quickstarts/send-sms.md - [Verify a phone number by SMS](https://packetexchange.io/developers/quickstarts/verify-sms): Text a one-time code and check what the user typed. We generate the code and keep only a hash of it. Endpoints: POST /verify/start, POST /verify/check. Markdown: https://packetexchange.io/developers/quickstarts/verify-sms.md - [Verify a phone number by voice call](https://packetexchange.io/developers/quickstarts/verify-voice): Call the user and read a one-time code aloud, digit by digit, in English, Spanish, French, German, Portuguese or Hindi. Endpoints: POST /verify/start, POST /verify/check. Markdown: https://packetexchange.io/developers/quickstarts/verify-voice.md - [Verify a phone number by call-in](https://packetexchange.io/developers/quickstarts/verify-call-in): Your user calls your own phone number from the phone being verified. The call is matched by caller ID and ended unanswered, so there is no SMS to deliver and the caller pays nothing. Endpoints: GET /verify/call-in/numbers, POST /verify/call-in/numbers, POST /verify/start, GET /verify/{verificationId}. Markdown: https://packetexchange.io/developers/quickstarts/verify-call-in.md - [Make a phone call](https://packetexchange.io/developers/quickstarts/make-a-call): Place an outbound call on a wholesale route and get back its outcome, duration and exact cost when it ends. Endpoints: POST /comms/calls. Markdown: https://packetexchange.io/developers/quickstarts/make-a-call.md - [Build an AI voice agent](https://packetexchange.io/developers/quickstarts/ai-voice-agents): Create an agent from a script and rules, rehearse it in a simulated conversation, then attach it to an outbound campaign. Endpoints: POST /ai-agents, POST /ai-agents/{id}/simulate, PUT /dialer/campaigns/{id}. Markdown: https://packetexchange.io/developers/quickstarts/ai-voice-agents.md - [Get a phone number](https://packetexchange.io/developers/quickstarts/buy-a-number): Search the number store by digits, request a number for our team to approve and point its calls at your SIP server or another phone. Endpoints: GET /dids/search, POST /dids/requests, GET /dids/requests, PATCH /dids/{id}/routing. Markdown: https://packetexchange.io/developers/quickstarts/buy-a-number.md - [Price a number (least-cost routing)](https://packetexchange.io/developers/quickstarts/price-a-number): See every route that serves a number at the rate it would charge for it, cheapest first, then preview which one Smart Routing would pick. Endpoints: GET /routes/price-number, GET /routes/resolve. Markdown: https://packetexchange.io/developers/quickstarts/price-a-number.md - [Test a caller ID on a route](https://packetexchange.io/developers/quickstarts/caller-id-testing): Place a real test call over a route to a handset in the destination country and see which caller ID it displayed. Endpoints: POST /cli-tests, GET /cli-tests/{id}, GET /cli-tests/quota. Markdown: https://packetexchange.io/developers/quickstarts/caller-id-testing.md - [Check routes before you buy](https://packetexchange.io/developers/quickstarts/check-routes): Place one short real call over up to three routes, read a plain verdict for each, then buy the ones that work with your routing order set. Endpoints: POST /routes/check, GET /routes/check/{id}, GET /routes/check/coverage, POST /routes/check/{id}/purchase, POST /routes/check/sms. Markdown: https://packetexchange.io/developers/quickstarts/check-routes.md - [Receive webhooks and verify signatures](https://packetexchange.io/developers/quickstarts/webhooks): Receive sends, completed calls and inbound messages as signed POSTs, and reject anything forged or replayed. Headers: X-PX-Signature, X-PX-Timestamp, X-Webhook-Event, X-Webhook-Id. Markdown: https://packetexchange.io/developers/quickstarts/webhooks.md - [Connect an AI agent over MCP](https://packetexchange.io/developers/quickstarts/mcp): Give Claude, Cursor or your own agent the marketplace as tools: price routes, verify numbers, send and check its balance. Endpoints: POST https://packetexchange.io/mcp/http. Markdown: https://packetexchange.io/developers/quickstarts/mcp.md ## Docs as Markdown Every documentation page below is also served as Markdown: add `.md` to its URL, or request the page with `Accept: text/markdown`. - [Documentation hub](https://packetexchange.io/docs.md): Where to start, the three references and how to connect over SIP, SMPP, REST and MCP. - [REST API overview](https://packetexchange.io/api-docs.md): Authentication, the envelope, money, rate limits, error codes and the reference groups. - [Every API operation](https://packetexchange.io/api-docs/reference.md): One line per operation, grouped, each group linking to its Markdown reference. - [Quickstarts](https://packetexchange.io/developers/quickstarts.md): The quickstart index. - [MCP server and AI agents](https://packetexchange.io/developers/agents.md): MCP set-up for each client and the tool list. - [Account reference](https://packetexchange.io/api-docs/reference/account.md): Your profile, balance, preferences, team and account-level settings. - [API keys reference](https://packetexchange.io/api-docs/reference/api-keys.md): Create, scope and revoke API keys. Dashboard session only: a key can never mint or list keys. - [API usage reference](https://packetexchange.io/api-docs/reference/api-usage.md): Request volume, error rate and latency for your own API traffic. - [Webhooks reference](https://packetexchange.io/api-docs/reference/webhooks.md): Endpoints we POST signed events to, their delivery history and resends. - [Marketplace routes reference](https://packetexchange.io/api-docs/reference/marketplace-routes.md): Browse, resolve, list and manage voice and SMS termination routes. - [Route checks reference](https://packetexchange.io/api-docs/reference/route-checks.md): Check up to three routes with a short real call before you buy them, then buy the ones that passed with the routing order set. - [Rate sheets reference](https://packetexchange.io/api-docs/reference/rate-sheets.md): Upload and manage per-prefix rate decks on routes you sell. - [Route blends reference](https://packetexchange.io/api-docs/reference/route-blends.md): Blended routes that spread traffic across several member routes. - [Purchases reference](https://packetexchange.io/api-docs/reference/purchases.md): Buy access to marketplace routes and manage what you bought. - [Offers reference](https://packetexchange.io/api-docs/reference/offers.md): Propose, counter and accept prices on marketplace routes. - [Route access reference](https://packetexchange.io/api-docs/reference/route-access.md): Request and grant access to private marketplace routes. - [Route messages reference](https://packetexchange.io/api-docs/reference/route-messages.md): Buyer and seller conversations about a route. - [Route reports reference](https://packetexchange.io/api-docs/reference/route-reports.md): Report a problem with a route you bought. - [Markets reference](https://packetexchange.io/api-docs/reference/markets.md): Market-wide rate indices across destinations. - [Voice and SMS reference](https://packetexchange.io/api-docs/reference/voice-and-sms.md): Place single calls and send single SMS over the routes you bought, and read their history. - [Verify reference](https://packetexchange.io/api-docs/reference/verify.md): One-time passcodes by SMS or voice call: send a code, then check what the user typed. We keep only a hash of the code. - [Number lookup reference](https://packetexchange.io/api-docs/reference/number-lookup.md): Validate a number and see its country, line type, network, risk and cheapest live price. Prefix-based, free. - [Phone numbers reference](https://packetexchange.io/api-docs/reference/phone-numbers.md): The DID Store: search, buy, route and release phone numbers; SMS and softphone lines on them. - [Billing reference](https://packetexchange.io/api-docs/reference/billing.md): Ledger, invoices, statements, spending and exports. All amounts are USD 6-decimal strings. - [Top-ups reference](https://packetexchange.io/api-docs/reference/top-ups.md): Add funds by card, crypto or wire. - [Dialer reference](https://packetexchange.io/api-docs/reference/dialer.md): Outbound dialer and SMS campaigns, their numbers, caller IDs and results. - [AI voice agents reference](https://packetexchange.io/api-docs/reference/ai-voice-agents.md): Build, preview and attach AI voice agents to campaigns. - [CLI tests reference](https://packetexchange.io/api-docs/reference/cli-tests.md): Caller-ID tests on real handsets. - [Do not call reference](https://packetexchange.io/api-docs/reference/do-not-call.md): Your opt-out and suppression list, applied to dialer and SMS traffic. - [Interconnections reference](https://packetexchange.io/api-docs/reference/interconnections.md): The SIP IP whitelist and connectivity tests for your traffic. - [Connections reference](https://packetexchange.io/api-docs/reference/connections.md): Your SIP and SMPP connections to the exchange. - [Application Manager reference](https://packetexchange.io/api-docs/reference/application-manager.md): Operate retail sub-accounts: provisioning, credit and routing. - [Revenue share numbers reference](https://packetexchange.io/api-docs/reference/revenue-share-numbers.md): Revenue share number pools, taking numbers (single, bulk or by range), IVR, call delivery and payouts. API keys need `revshare:read` for reads and `revshare:write` for changes; payout requests are dashboard-session only. Webhook events: `revshare.call.received`, `revshare.number.taken`, `revshare.number.released`. - [Notifications reference](https://packetexchange.io/api-docs/reference/notifications.md): In-app notifications for your account. - [Support reference](https://packetexchange.io/api-docs/reference/support.md): Support tickets and the public contact form. - [Compliance reference](https://packetexchange.io/api-docs/reference/compliance.md): Identity verification and US calling compliance. - [Status reference](https://packetexchange.io/api-docs/reference/status.md): Public platform status, incidents and maintenance. - [System reference](https://packetexchange.io/api-docs/reference/system.md): Health checks and service metadata. The Switch reference groups follow the same pattern (for example /api-docs/reference/switch.md). ## Platform (for developers coming from another CPaaS) - [Platform overview](https://packetexchange.io/platform): Messaging, voice, verification and numbers on one API at carrier rates. - [Messaging](https://packetexchange.io/platform/messaging): SMS over REST with the segment count and exact cost in every reply. - [Voice](https://packetexchange.io/platform/voice): Programmable outbound calls with spoken, played and gathered steps. - [Verify](https://packetexchange.io/platform/verify): One-time codes by SMS or voice with no per-verification fee. - [Phone numbers](https://packetexchange.io/platform/phone-numbers): Local, mobile and toll-free numbers bought and configured by API. - [SIP trunking](https://packetexchange.io/platform/sip-trunking): Connect your PBX or SBC to carrier routes with IP or digest auth. - [Lookup](https://packetexchange.io/platform/lookup): Number type, country and network before you send or dial. - [AI voice agents](https://packetexchange.io/platform/ai-voice-agents): Agents described in plain English that make outbound calls. - [Pricing](https://packetexchange.io/platform/pricing): Live per-country rates for messages, minutes and numbers. - [Moving from Twilio](https://packetexchange.io/platform/migrate): Concepts, endpoints, webhooks and code mapped one to one. - [Compare](https://packetexchange.io/platform/compare/twilio): Product by product, and where PacketExchange goes further. - [Migrate messaging from Twilio](https://packetexchange.io/platform/migrate/messaging): Step by step, with before and after code and webhook handlers. - [Migrate voice from Twilio](https://packetexchange.io/platform/migrate/voice): How a TwiML flow maps to a scripted action list fixed when the call is placed. - [Migrate Verify from Twilio](https://packetexchange.io/platform/migrate/verify): Codes by SMS or voice, with check calls mapped one to one. - [Migrate phone numbers from Twilio](https://packetexchange.io/platform/migrate/phone-numbers): Buying and configuring numbers by API. ## AI agents - [Build with AI agents](https://packetexchange.io/developers/agents): MCP set-up for Claude Code, Cursor, VS Code, Claude Desktop and Codex, the tool list and x402. - [MCP server](https://packetexchange.io/mcp): The hosted MCP server and every tool with its parameters. - [Agent self-signup](https://packetexchange.io/mcp#agent-signup): POST /api/v1/agent/signup with an email address returns a free sandbox key at once. The sandbox reads the market and may fund the account with x402; it has no test credit, so calls, SMS and verifications are refused with a `next_step` until the account holder signs in, completes the ID check (KYC) and creates a live key. - [MCP sign-in](https://packetexchange.io/mcp#sign-in): Chat apps that support MCP authorization (OAuth) connect to https://packetexchange.io/mcp/connect and sign in with a PacketExchange account instead of pasting a key. - [x402 top-ups](https://packetexchange.io/x402): Fund the balance with USDC on Base over HTTP 402: a balance top-up, not per-request payment. - [Full text for agents](https://packetexchange.io/llms-full.txt): This file plus every quickstart inlined with code and response shapes. - [MCP server card](https://packetexchange.io/.well-known/mcp.json): Machine-readable description of the MCP server: endpoint, transport, auth and tools. - [Agent card](https://packetexchange.io/.well-known/agent.json): What PacketExchange offers agents, how to authenticate and where the MCP server and specs are. There is no A2A task endpoint. - [API catalog](https://packetexchange.io/.well-known/api-catalog): RFC 9727 linkset pointing to both OpenAPI documents and the docs. ## Pricing - [Developer pricing](https://packetexchange.io/pricing/developers): The fee model and live rates for API traffic. - [Pricing](https://packetexchange.io/pricing): Pricing overview for carriers, the Switch and developers. - [Wholesale pricing](https://packetexchange.io/pricing/wholesale): Pricing for carriers trading on the marketplace. - [Price a number](https://packetexchange.io/developers/quickstarts/price-a-number): Every route for a number at the rate it would charge, cheapest first: GET https://packetexchange.io/api/v1/routes/price-number?number=&type=voice (no key needed). - [Marketplace](https://packetexchange.io/marketplace): Every listed route with its price and caller ID type. ## Products - [SMS messaging](https://packetexchange.io/solutions/sms): Send A2P SMS worldwide on routes bought direct from carriers, at wholesale rates, from one API. - [OTP & verification](https://packetexchange.io/solutions/verification): Send one-time codes by SMS or by a call that reads them aloud, check them with one request, and pay only for the message or call. - [Bulk & marketing SMS](https://packetexchange.io/solutions/marketing): Send promotions, reminders and lifecycle messages in bulk, on operator-direct routes priced from the wholesale market. - [Voice & numbers](https://packetexchange.io/solutions/voice): Outbound termination, inbound numbers and IVR over carrier routes, with the CLI type of every route stated before you buy. - [AI voice agents](https://packetexchange.io/solutions/ai-voice): Write the brief in plain English and the agent calls every number in the campaign: a natural voice and a real conversation, over wholesale routes you choose. - [Dialer & outbound](https://packetexchange.io/solutions/dialer): Run voice and SMS campaigns over the carrier routes you choose, with concurrency, calling windows, retries, CLI rotation and DNC suppression under your control. - [Phone numbers](https://packetexchange.io/solutions/numbers): Give your business a local presence in the markets you serve. Buy local, national, mobile and toll-free numbers, point them at your SIP switch or any phone, and take calls in about a minute. - [Wholesale marketplace](https://packetexchange.io/solutions/exchange): Buy voice termination from carriers who list their own routes, compare price and stated quality before you send a call, and pay as you go. Selling? List your routes and reach buyers without chasing bilateral contracts. - [Global connectivity](https://packetexchange.io/solutions/connectivity): Every route comes with its interconnect: a SIP trunk, digest credentials or IP authorisation, and standard codecs, issued with the purchase. - [Switch](https://packetexchange.io/solutions/switch): Bring your suppliers, sign your customers and keep the spread, with least-cost routing, A-Z rating, invoicing and settlement on one account. - [Smart Routing](https://packetexchange.io/solutions/smart-routing): Every call goes down the cheapest route you hold, and in a route group on your Switch it rolls to the next the moment a supplier fails. - [Revenue Turbine](https://packetexchange.io/solutions/route-blending): Revenue Turbine blends several routes into one sellable product: one weighted rate, pooled capacity and a blended quality profile, sold on the marketplace or run on your own switch. - [Voice CLI Testing](https://packetexchange.io/solutions/caller-id-testing): Real calls to real handsets in the destination country, with the number you presented set beside the number that arrived. - [Route quality & disputes](https://packetexchange.io/solutions/route-quality): Every route shows its ASR, ACD and PDD before you buy, your own calls are measured on each purchase, and when a route slips there is a formal way to raise it and get it fixed. - [Conference introductions](https://packetexchange.io/solutions/introductions): One scan connects two carriers on the exchange, with each other's routes and rates on screen, instead of swapping cards and chasing email for a fortnight. - [Residential Proxies](https://packetexchange.io/proxies): Rotating residential IPs, worldwide or by country, paid by the GB from the PacketExchange balance: $4.00/GB from 1 GB, $3.50/GB from 50 GB, $3.00/GB from 100 GB (1 to 500 GB per order). HTTP port 8888 and SOCKS5 port 1080 on proxy.packetexchange.io; country, city, network (ASN) and sticky-session options in the username. Identity check (KYC) required; SMTP is blocked. ## Optional - [Platform status](https://packetexchange.io/status): Live health checks of the platform. - [Terms](https://packetexchange.io/terms): Terms of service. - [Privacy](https://packetexchange.io/privacy): Privacy policy. - [Contact](https://packetexchange.io/contact): Sales and support.