Inventory

Get inventory information

Retrieve available phone number inventory information for a specified locale and duration

get/inventory

Request

  • Base URL: https://api.quackr.io
  • URL: https://api.quackr.io/inventory
  • Auth: API key in header x-api-key

Query parameters

localestring required

Country code for phone numbers

duration'halfDay' | 'oneDay' | 'oneWeek' | 'oneMonth' | 'sixMonths' | 'twelveMonths' required

Duration period for phone number rental

carrier'US1' | 'US2'

(US locale only) Get inventory for a specific carrier

Response

Successfully retrieved inventory information

successboolean
inventoryinteger
localestring
durationstring

Example response

{
  "success": true,
  "inventory": 20,
  "locale": "US",
  "duration": "sixMonths"
}

Changes

No recorded changes to this operation across all 1 revision of this API.