# Render a barcode image (Developers)

URL: https://qrdx.dev/docs/developers/api/get-barcode-image
Source: https://github.com/bucharitesh/qrdx/blob/main/apps/docs/content/docs/developers/api/get-barcode-image.mdx

A static barcode as SVG (default), PNG, JPG, WebP, AVIF, PDF or EPS, with no key.

{/* Generated by bun run openapi:generate from public\/openapi.json. Edit lib\/openapi, then run it again. */}

**No key or token needed**, and it doesn't use your daily quota: put the URL straight into an `<img>` tag. The same query always returns the same bytes, so responses are cached for a year. Limit: 300 requests a minute per IP address, like `GET /qr`.

**Formats.** EAN-13, EAN-8, UPC-A, UPC-E, ITF-14 and GS1-128 (GTIN and SSCC fields) take the number with or without its check digit: one digit short and it's added, the full length and it's checked. A wrong check digit, a wrong length or a character the format can't hold is a `400` that says what's wrong. Code 128 takes printable ASCII, Code 39 capitals, digits and `- . $ / + %`, and Data Matrix, PDF417 and Aztec any text up to 1,000 characters.

**Sizes.** Raster images are `scale` pixels per module (a linear bar or a 2D cell's half). SVG, PDF and EPS are vectors at one point per module (0.353 mm, about 107% of an EAN-13's nominal size), with bars `height` millimetres tall.

Values that shouldn't sit in a URL can go in a `POST` body instead.
