Build your SMS integration
Find a number. Receive a verification message. Manage the entire order from your application.
Start with a live quote, approve its price and purchase once. Every request uses your ScrapingBuddy customer key and the same wallet as your dashboard.
Get your first number- 01Quote
Choose a service and check its live price.
- 02Purchase
Use one saved key for each purchase.
- 03Receive
Read your SMS, then finish the order.
Start building
New to the API? Follow the first-number guide, then explore the reference for each request in your integration.
Understand the workflow
- Find your country and serviceUse IDs from the catalogue, not display names. Choose an operator only when you need a specific one.
- Approve a two-minute quoteCheck amountCents against your budget. Stock is not reserved by a quote.
- Keep one identity per purchasePersist the UUID v4 Idempotency-Key and quoteId before sending POST /orders. Reuse them on an uncertain retry.
- Wait for a messagePoll your saved order every 10 seconds. Inspect sms, then finish or cancel when the action is allowed.
API endpoints
Base URL: https://www.scrapingbuddy.com/api/v1. Every request needs Bearer authentication. All prices are integer USD cents.
| Method | Endpoint | Purpose |
|---|---|---|
GET | /balance | Read the wallet balance shared by your dashboard and API purchases. |
GET | /countries | Find the country identifiers used by catalogue and purchase requests. |
GET | /services | Find service IDs, stock and indicative prices for a country. |
GET | /operators | Find available operators for a country and service. |
POST | /quotes | Get a live price before committing to a number purchase. |
POST | /orders | Purchase a number using an approved quote and a persisted idempotency key. |
GET | /orders | Read your order history, newest first, in pages of up to 20 orders. |
GET | /orders/{id} | Retrieve an allocated number, its current status and all received messages. |
POST | /orders/{id}/refresh | Request a status check for an existing order. |
POST | /orders/{id}/cancel | Cancel an active order before an SMS has arrived. |
POST | /orders/{id}/finish | Complete an active order after receiving and using your SMS. |