---
title: "Get inventory information"
method: GET
path: "/inventory"
tags: ["Inventory"]
---

# Get inventory information

`GET /inventory`

## Request

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

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

## Query parameters

- `locale` string, required
- `duration` 'halfDay' | 'oneDay' | 'oneWeek' | 'oneMonth' | 'sixMonths' | 'twelveMonths', required
- `carrier` 'US1' | 'US2'

## Response `200`

Successfully retrieved inventory information

- object
  - `success` boolean
  - `inventory` integer
  - `locale` string
  - `duration` string

## Other responses

- `400`: Invalid request parameters
- `401`: Unauthorized - Invalid API key

---

[API](https://skmtc.dev/quackr/apis/quackr-api.md) · [All operations](https://skmtc.dev/quackr/apis/quackr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quackr/apis/quackr-api/revisions/9b7240306750?raw)
