# OBI Stock

Get per-store stock for one product and up to ten store ids from the stores route. An incomplete or failed chunk is never reported as out of stock. Costs 1 credit per successful request. Failed requests are not billed.

- **Documentation:** [https://scrappa.co/docs/obi-api/obi_stock](https://scrappa.co/docs/obi-api/obi_stock)
- **API group:** OBI API
- **Endpoint:** `GET https://scrappa.co/api/obi/stock`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | Numeric article id. |
| `store_ids` | array | Yes | One to ten store ids. |

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Error | No usable stock was returned. The request is not billed and costs 0 credits. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
