# Jula Stock API Documentation

<p><strong>Jula Stock API Documentation</strong> Read online stock by variant id. Returns the in-stock flag, available stock level, shipping options and store counts. One request costs 1 credit. Empty and failed requests are not billed. Not affiliated with Jula.</p>

- **Documentation:** [https://scrappa.co/docs/jula-api/jula_stock](https://scrappa.co/docs/jula-api/jula_stock)
- **API group:** Jula API
- **Endpoint:** `GET https://scrappa.co/api/jula/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 |
| --- | --- | --- | --- |
| `variant_id` | string | Yes | Variant id from jula.product or jula.search. |

## Example response

```json
{
    "data": {
        "in_stock": true,
        "variant_id": "619280",
        "store_counts": [],
        "shipping_options": [],
        "available_stock_level": 42
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "stock"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. Not billable. |

## 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)
