# REST endpoints and JSON responses

> Harem Gold API REST endpoints: /v1/prices, /v1/prices/{symbol}, /v1/symbols and /v1/status, with a live try-it console and the JSON response shape for gold prices.

Source: https://docs.pixcharp.com/en/rest-api · Last updated: 2026-11-27

Current gold and currency prices come as JSON from four GET endpoints. Pick one and get a real response from the try-it console.

## Endpoints

The first version is intentionally focused on current prices, symbol discovery, and feed health.

Base URL: `https://api.pixcharp.com`

| Method | Path | Description |
| --- | --- | --- |
| GET | `/v1/prices` | Return all current prices in one response. |
| GET | `/v1/prices/{symbol}` | Return the price of one symbol. |
| GET | `/v1/symbols` | List the symbols available to your account. |
| GET | `/v1/status` | Check feed freshness and status. |

### cURL

```bash
curl https://api.pixcharp.com/v1/prices/HAS \
  -H "X-API-Key: $PIXCHARP_API_KEY"
```

The same request in JavaScript, Python, PHP and nine more languages: https://docs.pixcharp.com/en/code-examples

```
GET https://api.pixcharp.com/health/live
GET https://api.pixcharp.com/health/ready
```

## Responses

`alis` is the buy price and `satis` the sell price. `stale: true` means the data is older than expected.

```json
{
  "version": "v1",
  "asOfUtc": "2026-08-05T10:24:13Z",
  "source": "harem",
  "stale": false,
  "data": [
    {
      "symbol": "HAS",
      "alis": 6127.46,
      "satis": 6155.99,
      "kapanis": null,
      "acilis": null,
      "asOfUtc": "2026-08-05T10:24:13Z",
      "source": "harem",
      "stale": false
    }
  ]
}
```

## Links

- Documentation home: https://docs.pixcharp.com/en
- Product page and plans: https://pixcharp.com/en/harem-gold-api
- Customer dashboard: https://panel.pixcharp.com/en/api/login
- JavaScript/TypeScript client (open source): https://github.com/Baristopal/harem-altin-api
- Türkçe sürüm: https://docs.pixcharp.com/rest-api.md
- Contact: hello@pixcharp.com
