QR Ninja API

Build powerful integrations with our comprehensive GraphQL API. Generate QR codes, track analytics, and manage your account programmatically.

GraphQL API

Modern, flexible API with strong typing and efficient data fetching. Query exactly what you need, nothing more, nothing less.

POST https://api.qr-ninja.com/graphql
Authorization: Bearer YOUR_API_KEY

{
  createQrCode(input: {
    type: URL
    content: "https://example.com"
    enableAnalytics: true
  }) {
    id
    shortCode
    imageUrl
  }
}
Explore GraphQL Playground →

API Features

  • Generate all QR code types programmatically
  • Real-time analytics and tracking data
  • Bulk operations support
  • Webhook notifications for events
  • Rate limiting based on subscription tier

Getting Started

1

Get API Key

Sign up for a Pro or Enterprise account to get your API key

2

Authenticate

Include your API key in the Authorization header

3

Start Building

Use our SDKs or make direct API calls

For API access and documentation, contact us at: