QR Code Generator
Turn a link or any text into a QR code you can download as SVG.
POST /api/v1/qr-code- API version
- v1
- Output schema
- 1
The endpoint path is always /v1. The schema number below tracks this tool's output shape and changes independently.
Create a free account →Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
| text | text | yes | — |
| level | L | M | Q | H | no | M |
Request
curl -X POST https://sinikoding.dev/api/v1/qr-code \ -H 'content-type: application/json' \ -H 'x-api-key: tk_live_…' \ -d '{"text":"…","level":"M"}'
Returns
"output": { "kind": "svg", "markup": "<svg …></svg>", "alt": "…" }
Calls a same-origin sandbox endpoint, not /api/v1. No key needed, capped at 15 requests a minute.
Request
curl -X POST https://sinikoding.dev/api/v1/qr-code \ -H 'content-type: application/json' \ -H 'x-api-key: tk_live_…' \ -d '{"text":"","level":"M"}'
Response
Send a request to see the response.