Api Endpoint

Agent Extraction API

QR code generator: text, URL, payment URI (e.g. ethereum:/USDC request) or Wi-Fi credentials (ssid + password) to a QR code as SVG (inline + data URI) and/or GIF data URI. Error correction L/M/Q/H, scale, quiet-zone margin, colours, optional 0/1 module matrix. UTF-8 byte mode, computed locally, nothing stored.

Open interactive test console

Offering

Provider
freetier-agent-api.pages.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://freetier-agent-api.pages.dev/api/qr-code
MIME type
application/json
First seen
2026-10-26T22:16:55.441Z
Last seen
Tags
qr-code, svg, image-generation, Payments, wifi

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.0015 USDC
Atomic price: 1500 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1500",
    "payTo": "0x165Eb3dC3E98403ecB1141e90400F5e71806554B"
  }
]

Observed health

Status
Healthy
Latest latency
4194 ms
Average latency
1093 ms
HTTP status
402
Last checked
Reachability
100% over 13 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": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "content to encode, up to 2,000 characters"
        },
        "ssid": {
          "type": "string",
          "description": "Wi-Fi network name (instead of text) -> WIFI: QR"
        },
        "password": {
          "type": "string",
          "description": "Wi-Fi password (with ssid)"
        },
        "auth": {
          "type": "string",
          "enum": [
            "WPA",
            "WEP",
            "nopass"
          ],
          "description": "Wi-Fi security, default WPA when a password is given"
        },
        "ecc": {
          "type": "string",
          "enum": [
            "L",
            "M",
            "Q",
            "H"
          ],
          "description": "error correction, default M"
        },
        "format": {
          "type": "string",
          "enum": [
            "svg",
            "gif",
            "both"
          ],
          "description": "default svg"
        },
        "scale": {
          "type": "string",
          "description": "pixels per module, 1-40, default 8"
        },
        "margin": {
          "type": "string",
          "description": "quiet zone in modules, 0-20, default 4"
        },
        "dark": {
          "type": "string",
          "description": "hex colour, default 000000 (svg only)"
        },
        "light": {
          "type": "string",
          "description": "hex colour, default ffffff (svg only)"
        },
        "matrix": {
          "type": "string",
          "enum": [
            "true",
            "false"
          ],
          "description": "true adds rows of 0/1"
        }
      },
      "required": []
    }
  },
  "required": [
    "type",
    "method"
  ]
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method"
      ],
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "type": "object",
          "required": [],
          "properties": {
            "ecc": {
              "enum": [
                "L",
                "M",
                "Q",
                "H"
              ],
              "type": "string",
              "description": "error correction, default M"
            },
            "auth": {
              "enum": [
                "WPA",
                "WEP",
                "nopass"
              ],
              "type": "string",
              "description": "Wi-Fi security, default WPA when a password is given"
            },
            "dark": {
              "type": "string",
              "description": "hex colour, default 000000 (svg only)"
            },
            "ssid": {
              "type": "string",
              "description": "Wi-Fi network name (instead of text) -> WIFI: QR"
            },
            "text": {
              "type": "string",
              "description": "content to encode, up to 2,000 characters"
            },
            "light": {
              "type": "string",
              "description": "hex colour, default ffffff (svg only)"
            },
            "scale": {
              "type": "string",
              "description": "pixels per module, 1-40, default 8"
            },
            "format": {
              "enum": [
                "svg",
                "gif",
                "both"
              ],
              "type": "string",
              "description": "default svg"
            },
            "margin": {
              "type": "string",
              "description": "quiet zone in modules, 0-20, default 4"
            },
            "matrix": {
              "enum": [
                "true",
                "false"
              ],
              "type": "string",
              "description": "true adds rows of 0/1"
            },
            "password": {
              "type": "string",
              "description": "Wi-Fi password (with ssid)"
            }
          }
        }
      }
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object",
          "properties": {
            "ecc": {
              "type": [
                "string",
                "null"
              ]
            },
            "svg": {
              "type": [
                "string",
                "null"
              ]
            },
            "kind": {
              "type": [
                "string",
                "null"
              ]
            },
            "more": {
              "type": "object",
              "properties": {
                "note": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "full_datasets": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            },
            "note": {
              "type": [
                "string",
                "null"
              ]
            },
            "text": {
              "type": [
                "string",
                "null"
              ]
            },
            "bytes": {
              "type": [
                "number",
                "null"
              ]
            },
            "scale": {
              "type": [
                "number",
                "null"
              ]
            },
            "margin": {
              "type": [
                "number",
                "null"
              ]
            },
            "matrix": {
              "type": "array",
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "library": {
              "type": [
                "string",
                "null"
              ]
            },
            "modules": {
              "type": [
                "number",
                "null"
              ]
            },
            "size_px": {
              "type": [
                "number",
                "null"
              ]
            },
            "version": {
              "type": [
                "number",
                "null"
              ]
            },
            "gif_data_uri": {
              "type": [
                "string",
                "null"
              ]
            },
            "svg_data_uri": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        }
      }
    }
  }
}