NBP gold price
nbp_gold_priceGet the official NBP gold price — PLN per 1 gram of 1000-fineness gold. Latest price by default; or one historical date; or the last N quotes (last_n, max 255); or a start_date/end_date range (max 93 days per query). Published every business day. NBP publishes only on Polish business days — on weekends/holidays the request falls back to the most recent preceding publication; effectiveDate in the response shows the date actually used. Gold data starts 2013-01-02.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | One historical date (YYYY-MM-DD). Mutually exclusive with last_n and the range. | |
| last_n | No | Return the last N published prices (1-255). Mutually exclusive with date and the range. | |
| end_date | No | Range end (YYYY-MM-DD, inclusive). Requires start_date; span ≤ 93 days. | |
| no_cache | No | Force a fresh NBP fetch and bypass this server's result cache. Default false. | |
| start_date | No | Range start (YYYY-MM-DD, inclusive). Requires end_date. |