{
  "specVersion": "1.0",
  "host": {
    "displayName": "Swinch",
    "documentationUrl": "https://swinch.com/about",
    "logoUrl": "https://swinch.com/images/swinch-wordmark.png"
  },
  "entries": [
    {
      "identifier": "urn:air:swinch.com:catalog:public-offers",
      "displayName": "Swinch public offer and business catalog",
      "type": "application/openapi+json",
      "description": "Read-only JSON API listing the 71 offers currently live and the 285 businesses that publish them, with location, opening hours and prices. No authentication. Coverage is Switzerland.",
      "tags": [
        "offers",
        "deals",
        "local-business",
        "travel",
        "switzerland"
      ],
      "capabilities": [
        "list-offers",
        "list-businesses",
        "geo-lookup"
      ],
      "representativeQueries": [
        "What deals are available near me in Lucerne right now?",
        "Which restaurants in Zurich have an offer today?",
        "Find free coupons at shops in Switzerland",
        "What is open near Bern and has a discount?"
      ],
      "updatedAt": "2026-09-30T11:19:41.704Z",
      "data": {
        "openapi": "3.1.0",
        "info": {
          "title": "Swinch public catalog",
          "version": "1.0.0",
          "description": "The public, unauthenticated read endpoints behind swinch.com. Responses use the platform envelope { success, message, data, meta }."
        },
        "servers": [
          {
            "url": "https://api.swinch.com"
          }
        ],
        "paths": {
          "/api/offers": {
            "get": {
              "summary": "List every offer that is currently live",
              "parameters": [
                {
                  "name": "page",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "minimum": 1
                  }
                },
                {
                  "name": "limit",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 100
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Live offers",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "properties": {
                          "success": {
                            "type": "boolean"
                          },
                          "message": {
                            "type": "string"
                          },
                          "data": {
                            "type": "array",
                            "items": {
                              "type": "object"
                            }
                          },
                          "meta": {
                            "type": "object",
                            "properties": {
                              "total": {
                                "type": "integer"
                              },
                              "page": {
                                "type": "integer"
                              },
                              "limit": {
                                "type": "integer"
                              },
                              "totalPages": {
                                "type": "integer"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/business": {
            "get": {
              "summary": "List businesses publishing offers",
              "parameters": [
                {
                  "name": "page",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "minimum": 1
                  }
                },
                {
                  "name": "limit",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 100
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Businesses",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "properties": {
                          "success": {
                            "type": "boolean"
                          },
                          "message": {
                            "type": "string"
                          },
                          "data": {
                            "type": "array",
                            "items": {
                              "type": "object"
                            }
                          },
                          "meta": {
                            "type": "object",
                            "properties": {
                              "total": {
                                "type": "integer"
                              },
                              "page": {
                                "type": "integer"
                              },
                              "limit": {
                                "type": "integer"
                              },
                              "totalPages": {
                                "type": "integer"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  ]
}