qr-api-production-1836.up.railway.app
Generate a QR code PNG (returned base64-encoded in JSON) for any text or URL using default black-on-white styling.
Offering
- Provider
- qr-api-production-1836.up.railway.app
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Creative
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://qr-api-production-1836.up.railway.app/generate/basic- MIME type
- Not provided
- First seen
- 2026-10-16T01:52:02.163Z
- Last seen
- Tags
- None supplied
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"payTo": "0xFFc458dB291b4ABcE020fE3de4f91F2770E537b1"
}
]Observed health
- Status
- Reachable
- Latest latency
- 108 ms
- Average latency
- 503 ms
- HTTP status
- 405
- Last checked
- Reachability
- 100% over 14 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"type": "string",
"enum": [
"POST",
"PUT",
"PATCH"
]
},
"bodyType": {
"type": "string",
"enum": [
"json",
"form-data",
"text"
]
},
"body": {
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "Text or URL to encode, up to 4296 characters."
}
},
"required": [
"data"
]
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "The text or URL encoded into the QR code."
},
"format": {
"type": "string",
"description": "Image format of the returned bytes; always 'png'."
},
"size_bytes": {
"type": "integer",
"description": "Byte length of the raw PNG."
},
"width": {
"type": "integer",
"description": "PNG width in pixels."
},
"height": {
"type": "integer",
"description": "PNG height in pixels."
},
"modules": {
"type": "integer",
"description": "QR module count per side (the grid dimension)."
},
"version": {
"type": "integer",
"description": "QR version (1-40) chosen to fit the data."
},
"error_correction": {
"type": "string",
"description": "Error-correction level used: L, M, Q, or H."
},
"box_size": {
"type": "integer",
"description": "Pixels per QR module."
},
"border": {
"type": "integer",
"description": "Quiet-zone border width in modules."
},
"fill_color": {
"type": "string",
"description": "Foreground colour as normalised #rrggbb hex."
},
"back_color": {
"type": "string",
"description": "Background colour as normalised #rrggbb hex."
},
"image_base64": {
"type": "string",
"description": "Base64-encoded PNG of the QR code."
}
}
}
},
"required": [
"type"
]
}