# What Build is

> Build is one API for marketplace and ad data, with the same call shape and field names on every platform.

- Amazon: Reads: yes · Writes: yes
- Google Ads: Reads: yes · Writes: no

> **Before you start**
>
> You need a Build account. The Free plan has one account and a sandbox key on demo data.

## What it is

Build connects the marketplace and ad accounts you already have and answers questions about them over one API. You send one `POST` to a tool, with one key, and get rows back in the same fields whichever platform the account is on.

Amazon and Google Ads are live. Other platforms follow the same call shape when they launch.

## Make your first call

1. **Get a key**

   Open Keys in the console, name the key, and choose what it can reach.
2. **Keep it in your tool's secrets**

   Store it as `BUILD_API_KEY`, so your prompts and code never contain the key itself.
3. **POST to a tool**

   The tool name is in the path. The body names the account and the dates.

**curl**

```bash
curl -X POST https://build-api.sellermate.ai/v1/tools/get_inventory \
  -H "X-API-Key: $BUILD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"account":"acct_123"}'
```

**Node**

```js
const res = await fetch("https://build-api.sellermate.ai/v1/tools/get_inventory", {
  method: "POST",
  headers: { "X-API-Key": process.env.BUILD_API_KEY, "Content-Type": "application/json" },
  body: JSON.stringify({ account: "acct_123" }),
});
console.log(await res.json());
```

**Python**

```python
import os, requests

res = requests.post(
    "https://build-api.sellermate.ai/v1/tools/get_inventory",
    headers={"X-API-Key": os.environ["BUILD_API_KEY"]},
    json={"account": "acct_123"},
)
print(res.json())
```

The call shape is illustrative until the contract is final. The sandbox key returns demo data and is read-only.

## What you send

| Name | Type | Required | Description |
|---|---|---|---|
| `account` | string | yes | The account to read. A key only reaches the accounts you chose when you created it. |
| `start` | date | no | First day, as `YYYY-MM-DD`. For tools that report over a period. |
| `end` | date | no | Last day, as `YYYY-MM-DD`. |

> **Amazon only: Writes run on Amazon accounts only**
>
> Changes to an Amazon account sit behind caps, a dry run and undo. Every other platform is read-only.

## What comes next

_To write: a screenshot of the console Keys screen, a short list of what the Free plan includes, and the link to Get a key_

## Questions

### Can Build change things in my accounts?

On Amazon accounts only, with caps, a dry run and undo. Google Ads and the platforms that follow are read-only.

### Which platforms are live?

Amazon and Google Ads. Walmart, Flipkart, TikTok Shop and Meta Ads are coming soon.

### Do I need an SDK?

No. Each tool is one `POST` with a JSON body, so curl, a fetch call or your AI tool's HTTP step all work.
