Skip to main content
POST
Search available numbers
Look for Israeli mobile numbers that are free to buy. Required scope: phone_numbers:search. Nothing is reserved and nothing is charged — searching is safe to repeat. Step one of the number journey: search here, then purchase one of the numbers this returns, exactly as it was returned.
This endpoint’s request and response are camelCase — areaCode, phoneNumber, finalPriceCents. It is the one corner of the API that is, because it surfaces the carrier search as-is. Everything you send to purchase and read back from the list is snake_case again.

Response

finalPriceCents is what the workspace is billed each month — that is the figure that becomes monthly_cost once the number is yours. capabilities.sms is false on Israeli mobile numbers: they carry voice only. A search that finds nothing returns numbers: [] rather than an error. Try another prefix, or drop areaCode entirely.

Authorizations

Authorization
string
header
required

Your Yappr API key (e.g. ypr_live_...). Generate one in the dashboard under Settings → API Keys. No key is 401 MISSING_KEY; a key that is not one of ours, or is revoked, is 401 INVALID_KEY; an expired one is 401 EXPIRED_KEY. A valid key without the scope an operation needs is 403 INSUFFICIENT_SCOPE on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's RATE_LIMIT asks for what is left of the minute, a route's daily cap (RATE_LIMITED) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is 404 ROUTE_NOT_FOUND, and a method a served path does not take is 405 METHOD_NOT_ALLOWED with an Allow header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (POST /calls/ is POST /calls) and refused where it can (GET /calls/). A doubled slash inside a path is merged into one before the request reaches the API (GET //calls is GET /calls).

Body

application/json
areaCode
string

Israeli mobile prefix (50, 52, 53, 54, 55, 58). Omit to see all.

Example:

"55"

limit
integer
default:10
page
integer
default:1

Response

200 - application/json

Available numbers. All returned numbers are Israeli mobile numbers. The camelCase fields here surface the internal number-search response as-is.

numbers
object[]
numberType
string
pagination
object