Skip to main content

Frequently Asked Questions

Frequently Asked Questions

What is the QR Code Generation API?

The QR Code Generation API allows you to generate QR codes with various customization options. You can set parameters such as size, color, and error correction level to create QR codes that suit your needs.

How do I get started with the API?

To get started, make a GET request to the API endpoint with the required parameters. For example:

https://fetchqr.org/api?data=YOUR_TEXT_HERE

Replace YOUR_TEXT_HERE with the content you want to encode in the QR code.

What parameters can I use with the QR Code Generation API?

You can customize your QR code using the following parameters:

  • data: Content of the QR code (required)

  • format: Format of the QR code image (optional, default: png)

  • width: Width of the QR code image in pixels (optional, default: 150)

  • height: Height of the QR code image in pixels (optional, default: 150)

  • margin: Whitespace around the QR code image in pixels (optional, default: 4)

  • color: Hex color code of the QR code's grid cells (optional, default: #000000)

  • bg_color: Hex color code of the QR code's background (optional, default: #ffffff)

  • error_correction: Error correction level (L, M, Q, H) (optional, default: M)

  • image: URL of an image to include in the center of the QR code (optional)

  • image_size: Size coefficient of the central image (optional, default: 0.5)

  • image_margin: Margin around the central image (optional, default: 0)

  • caption: Caption text to display below the QR code (optional)

  • caption_font_family: Font family for the caption text (optional, default: sans-serif)

  • caption_font_size: Font size of the caption text (optional, default: 10)

    Can I customize the caption below the QR code?

    Yes, you can add a caption using the caption, caption_font_family, and caption_font_size parameters. For example:

     https://fetchqr.org/api?data=YOUR_TEXT_HERE&caption=Sample%20Caption&caption_font_family=monospace&caption_font_size=20

How do I handle errors with the API?

If you encounter an error, check the following:

Ensure all required parameters are included in your request. Verify that the URL-encoded values are correct. Consult the API documentation for details on parameter values and formats. Is there a way to generate multiple QR codes at once? Yes, you can use our web-based bulk QR code generator for large-scale QR code generation.

Where can I get more support?

For additional support, visit our Support Page or contact our support team. Feel free to reach out if you have any more questions or need further assistance!