# Convert requests to v4 — Vietmap API Playground

> Paste a curl command or URL that calls an older API version. The tool returns the matching v4 request and lists the changes. Everything is processed in the browser.

- Interactive page: https://tools.vietmap.vn/playground/en/migrate-v4
- API key: every request needs the `apikey` parameter. Samples use `YOUR_API_KEY` as the placeholder — when integrating, read the key from an environment variable (e.g. `VIETMAP_API_KEY`). Get a key at https://maps.vietmap.vn/console-v2/consumers
- Error codes: `401` wrong API key · `403` key restricted to another domain/IP · `423` API not enabled for the key's consumer, or out of credit (body contains "exceeded credit") · `429` rate limit exceeded.
