Skip to main content
POST
Generate QR Code

Request contract

  • Method and path: POST /apis/v1/api-ninjas/generate-qr-code
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/api-ninjas/generate-qr-code
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.00089 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
data
string
required

Data to encode in the QR code. Can be any text, URL, or other string content.

Examples:

"https://api-ninjas.com"

"Hello World"

"contact@example.com"

format
enum<string>
default:png

Output format for the QR code image. Choose 'png' for raster image or 'svg' for vector graphics.

Available options:
png,
svg

Response

Tool result data

qr_code_image
object
required