{
  "openapi": "3.1.0",
  "info": {
    "title": "aipromos.ai — static API for AI tool deals",
    "version": "2.0.0",
    "description": "JSON files regenerated daily. No auth. Languages: en, pl, de, cs, sk"
  },
  "servers": [
    {
      "url": "https://aipromos.ai"
    }
  ],
  "paths": {
    "/api/{lang}/deals.json": {
      "get": {
        "operationId": "listDeals",
        "summary": "All AI tools with offers",
        "parameters": [
          {
            "name": "lang",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "pl",
                "de",
                "cs",
                "sk"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DealList"
                }
              }
            }
          }
        }
      }
    },
    "/api/{lang}/tools/{slug}.json": {
      "get": {
        "operationId": "getTool",
        "summary": "Single tool",
        "parameters": [
          {
            "name": "lang",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "pl",
                "de",
                "cs",
                "sk"
              ]
            }
          },
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "elevenlabs",
                "voiceflow",
                "manychat",
                "n8n",
                "clickup",
                "bouncer",
                "gamma",
                "adcreative-ai",
                "softr",
                "wistia",
                "synthesia",
                "descript",
                "heygen",
                "zapier",
                "make",
                "lovable",
                "framer",
                "notion",
                "tidio",
                "lemlist",
                "instantly",
                "apollo",
                "fireflies",
                "jasper",
                "base44",
                "beautiful-ai",
                "chatfuel",
                "meetgeek",
                "netlify",
                "se-ranking",
                "botpress",
                "neuronwriter",
                "beehiiv",
                "colossyan",
                "kit",
                "mindstudio",
                "notta",
                "semrush",
                "10web",
                "decktopus",
                "klap",
                "opus-clip",
                "riverside",
                "speechify",
                "hostinger",
                "bright-data",
                "elementor",
                "pabbly",
                "runway",
                "submagic",
                "woodpecker",
                "invideo",
                "apify",
                "castmagic",
                "emergent",
                "mailerlite",
                "photoroom",
                "saleshandy",
                "surfer",
                "getresponse",
                "brevo",
                "monica",
                "wix",
                "prezi",
                "webflow",
                "mangools",
                "hubspot",
                "systeme-io",
                "pipedrive",
                "murf-ai",
                "writesonic",
                "activecampaign",
                "landbot",
                "motion",
                "canva",
                "miro",
                "tldv",
                "reclaim-ai",
                "consensus",
                "d-id",
                "pictory",
                "podcastle",
                "respond-io",
                "reply-io",
                "close",
                "folk",
                "moosend",
                "unbounce",
                "leadpages",
                "glide",
                "durable",
                "later",
                "brand24",
                "browse-ai",
                "frase"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/{lang}/categories.json": {
      "get": {
        "operationId": "listCategories",
        "summary": "Categories",
        "parameters": [
          {
            "name": "lang",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "pl",
                "de",
                "cs",
                "sk"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "DealList": {
        "type": "object",
        "properties": {
          "lang": {
            "type": "string"
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "count": {
            "type": "integer"
          },
          "rates": {
            "type": "object"
          },
          "deals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Deal"
            }
          }
        }
      },
      "Deal": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "promo",
              "standing",
              "unverified",
              "none"
            ]
          },
          "bestDiscountPct": {
            "type": [
              "integer",
              "null"
            ]
          },
          "endsAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          },
          "code": {
            "type": [
              "string",
              "null"
            ]
          },
          "goUrl": {
            "type": "string",
            "format": "uri"
          },
          "affiliate": {
            "type": "boolean"
          },
          "verified": {
            "type": "boolean"
          },
          "verifiedAt": {
            "type": "string",
            "format": "date"
          },
          "source": {
            "type": "string",
            "format": "uri"
          },
          "price": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "from": {
                "type": "number"
              },
              "currency": {
                "type": "string"
              },
              "period": {
                "type": "string"
              },
              "billing": {
                "type": "string"
              },
              "local": {
                "type": [
                  "object",
                  "null"
                ]
              }
            }
          },
          "offers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "promo",
                    "trial",
                    "free",
                    "discount",
                    "bonus"
                  ]
                },
                "title": {
                  "type": "string"
                },
                "detail": {
                  "type": "string"
                },
                "discountPct": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "endsAt": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "active": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    }
  }
}