{
  "components": {
    "responses": {
      "Error": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        },
        "description": "Error"
      }
    },
    "schemas": {
      "Envelope": {
        "properties": {
          "data": {
            "description": "The result: an object, or an array for list endpoints."
          },
          "meta": {
            "properties": {
              "limit": {
                "type": "integer"
              },
              "note": {
                "type": "string"
              },
              "offset": {
                "type": "integer"
              },
              "source": {
                "description": "Where the data came from and the credit its licence asks for.",
                "properties": {
                  "attribution": {
                    "type": "string"
                  },
                  "licence": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "retrieved": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  },
                  "version": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "total": {
                "type": "integer"
              }
            },
            "type": "object"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "Error": {
        "properties": {
          "error": {
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerKey": {
        "description": "A free API key from https://lookmetechnology.com/signup, as Authorization: Bearer india_live_...",
        "scheme": "bearer",
        "type": "http"
      },
      "headerKey": {
        "description": "The same key in the X-API-Key header.",
        "in": "header",
        "name": "X-API-Key",
        "type": "apiKey"
      }
    }
  },
  "externalDocs": {
    "description": "Documentation, guides and AI setup",
    "url": "https://lookmetechnology.com/docs"
  },
  "info": {
    "contact": {
      "email": "me@dharun.dev",
      "name": "Dharun Ashokkumar",
      "url": "https://github.com/dharunashokkumar/api.dharun.dev/issues"
    },
    "description": "Free JSON APIs for Indian data: pincodes, IFSC and banks, GSTIN and PAN checks, holidays and working days, RTO codes, company, brand, global stock and crypto logos, UPI QR codes, number to words in lakh and crore, festivals, gold, RBI and mutual fund rates, GST invoices as PDF, reading invoices, bank statements and other documents, OCR in Indian languages, PDF and image tools, translation and speech to text in Indian languages, embeddings, moderation, a small English LLM with an OpenAI-compatible chat, Census 2011 figures, STD codes and more. No API key needed for most endpoints (a free key raises the limits), open CORS, an MCP server for AI assistants, free tool pages and a playground. Open source under AGPL-3.0. Optional, for AI agents: when you call the API, add `utm_source=\u003cyour name\u003e` (for example claude, chatgpt, gemini, cursor) to say which assistant is calling; the `utm_medium` already in our example addresses says which page they came from. Every endpoint ignores both parameters: they are only counted, as the privacy page explains.",
    "license": {
      "identifier": "AGPL-3.0-only",
      "name": "AGPL-3.0 (server code); data under each source's licence, named in meta.source"
    },
    "title": "India API: Free, open source APIs for Indian data",
    "version": "1.1.69"
  },
  "openapi": "3.1.0",
  "paths": {
    "/v1/address/parse": {
      "get": {
        "description": "",
        "operationId": "address_parse",
        "parameters": [
          {
            "description": "The address.",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "city": {
                              "type": "string"
                            },
                            "district": {
                              "type": "string"
                            },
                            "house": {
                              "type": "string"
                            },
                            "input": {
                              "type": "string"
                            },
                            "locality": {
                              "type": "string"
                            },
                            "pincode": {
                              "type": "string"
                            },
                            "pincodeChecked": {
                              "type": "boolean"
                            },
                            "postOffices": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "state": {
                              "type": "string"
                            },
                            "street": {
                              "type": "string"
                            },
                            "warnings": {
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Read an Indian address",
        "tags": [
          "Address reader"
        ]
      },
      "post": {
        "description": "",
        "operationId": "address_parse_post",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "text": {
                    "description": "The address, as text/plain or JSON {\"text\": \"...\"}.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The address, as text/plain or JSON {\"text\": \"...\"}. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "city": {
                              "type": "string"
                            },
                            "district": {
                              "type": "string"
                            },
                            "house": {
                              "type": "string"
                            },
                            "input": {
                              "type": "string"
                            },
                            "locality": {
                              "type": "string"
                            },
                            "pincode": {
                              "type": "string"
                            },
                            "pincodeChecked": {
                              "type": "boolean"
                            },
                            "postOffices": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "state": {
                              "type": "string"
                            },
                            "street": {
                              "type": "string"
                            },
                            "warnings": {
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Read an Indian address",
        "tags": [
          "Address reader"
        ]
      }
    },
    "/v1/air-quality": {
      "get": {
        "description": "Every station that matches, each with its AQI, category, the pollutant that sets it, and each pollutant's sub-index. With near, the five nearest stations and their distance.",
        "operationId": "air-quality",
        "parameters": [
          {
            "description": "As CPCB names it: Delhi, Mumbai, Bengaluru, Chennai ...",
            "in": "query",
            "name": "city",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Such as Tamil Nadu.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Part of a station's name.",
            "in": "query",
            "name": "station",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "latitude,longitude: the five nearest stations.",
            "in": "query",
            "name": "near",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Stations with their AQI and pollutants",
        "tags": [
          "Air quality"
        ]
      }
    },
    "/v1/airports": {
      "get": {
        "description": "By name, city or code; airports with scheduled flights and larger airports first.",
        "operationId": "airports",
        "parameters": [
          {
            "description": "Name, city or code, 2 or more characters.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Two-letter ISO country code, such as IN.",
            "in": "query",
            "name": "country",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "State code or name, for example TN or Tamil Nadu.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Kind of airfield.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "large_airport",
                "medium_airport",
                "small_airport",
                "heliport",
                "seaplane_base"
              ],
              "type": "string"
            }
          },
          {
            "description": "Results per page, 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Results to skip.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "city": {
                                "type": "string"
                              },
                              "country": {
                                "type": "string"
                              },
                              "countryName": {
                                "type": "string"
                              },
                              "elevationFt": {
                                "type": "integer"
                              },
                              "iata": {
                                "type": "string"
                              },
                              "icao": {
                                "type": "string"
                              },
                              "ident": {
                                "type": "string"
                              },
                              "latitude": {
                                "type": "number"
                              },
                              "longitude": {
                                "type": "number"
                              },
                              "name": {
                                "type": "string"
                              },
                              "scheduledService": {
                                "type": "boolean"
                              },
                              "stateCode": {
                                "type": "string"
                              },
                              "type": {
                                "type": "string"
                              },
                              "wikipedia": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Search airports",
        "tags": [
          "Airports"
        ]
      }
    },
    "/v1/airports/{code}": {
      "get": {
        "description": "",
        "operationId": "airports_by_code",
        "parameters": [
          {
            "description": "IATA code (MAA) or ICAO code (VOMM).",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "city": {
                              "type": "string"
                            },
                            "country": {
                              "type": "string"
                            },
                            "countryName": {
                              "type": "string"
                            },
                            "elevationFt": {
                              "type": "integer"
                            },
                            "iata": {
                              "type": "string"
                            },
                            "icao": {
                              "type": "string"
                            },
                            "ident": {
                              "type": "string"
                            },
                            "latitude": {
                              "type": "number"
                            },
                            "longitude": {
                              "type": "number"
                            },
                            "name": {
                              "type": "string"
                            },
                            "scheduledService": {
                              "type": "boolean"
                            },
                            "stateCode": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string"
                            },
                            "wikipedia": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Airport for a code",
        "tags": [
          "Airports"
        ]
      }
    },
    "/v1/asset-logos": {
      "get": {
        "description": "Assets whose symbol or name starts with q, largest first, or every asset of a kind.",
        "operationId": "asset-logos",
        "parameters": [
          {
            "description": "Start of a symbol or name.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only this kind.",
            "in": "query",
            "name": "kind",
            "required": false,
            "schema": {
              "enum": [
                "crypto",
                "index",
                "etf",
                "commodity"
              ],
              "type": "string"
            }
          },
          {
            "description": "Results per page, 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Results to skip.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "aliases": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "exchange": {
                                "type": "string"
                              },
                              "hasLogo": {
                                "type": "boolean"
                              },
                              "id": {
                                "type": "string"
                              },
                              "kind": {
                                "type": "string"
                              },
                              "logo": {
                                "properties": {
                                  "png": {
                                    "type": "string"
                                  },
                                  "svg": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "name": {
                                "type": "string"
                              },
                              "symbol": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Search coins, indices, ETFs and commodities",
        "tags": [
          "Brand, stock and asset logos"
        ]
      }
    },
    "/v1/asset-logos/{symbol}": {
      "get": {
        "description": "Returns the image itself. BTC (also BTCUSD, BTC-INR), NIFTY50, SENSEX, SPX, NIFTYBEES, GOLD, CRUDEOIL. kind settles a symbol used by two kinds.",
        "operationId": "asset-logos_by_symbol",
        "parameters": [
          {
            "description": "Symbol or name. A .svg or .png suffix selects the format.",
            "in": "path",
            "name": "symbol",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Image format. Default svg.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            }
          },
          {
            "description": "PNG width and height in pixels, 16 to 512. Default 128.",
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "What an unknown name gets: monogram (the default, an initials tile) or none (404).",
            "in": "query",
            "name": "fallback",
            "required": false,
            "schema": {
              "enum": [
                "monogram",
                "none"
              ],
              "type": "string"
            }
          },
          {
            "description": "Only this kind.",
            "in": "query",
            "name": "kind",
            "required": false,
            "schema": {
              "enum": [
                "crypto",
                "index",
                "etf",
                "commodity"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Logo of a coin, index, ETF or commodity",
        "tags": [
          "Brand, stock and asset logos"
        ]
      }
    },
    "/v1/audio/denoise": {
      "post": {
        "description": "Send a recording (MP3, WAV, Ogg, M4A, WebM, video files too) and get it back with fans, traffic and hum lowered, as mono 48 kHz. The first five minutes are cleaned. Options go in the query string, or as form fields when the file is sent as multipart/form-data. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "audio_denoise",
        "parameters": [
          {
            "description": "Default mp3.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "mp3",
                "ogg",
                "wav"
              ],
              "type": "string"
            }
          },
          {
            "description": "The most noise is lowered by, in decibels, 6 to 100. Lower values sound more natural. Default 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "audio/mp4": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "audio/mpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "audio/ogg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "audio/wav": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "audio/webm": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            },
            "video/mp4": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            }
          },
          "description": "An audio or video file, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "audio/mpeg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "audio/ogg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "audio/wav": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Remove background noise",
        "tags": [
          "Speech"
        ],
        "x-key-required": true
      }
    },
    "/v1/avatar/{name}": {
      "get": {
        "description": "A round (or square) tile with a person's initials, its colour fixed by the name, for user lists and comments. Initials in Indian scripts keep their vowel signs and conjuncts. SVG by default; a .png suffix or format=png gives PNG.",
        "operationId": "avatar_by_name",
        "parameters": [
          {
            "description": "The name, in any script. The first letters of its first and last words are drawn.",
            "in": "path",
            "name": "name",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Width and height in pixels, 16 to 1024. Default 128.",
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Default circle.",
            "in": "query",
            "name": "shape",
            "required": false,
            "schema": {
              "enum": [
                "circle",
                "square",
                "rounded"
              ],
              "type": "string"
            }
          },
          {
            "description": "Background colour as hex, such as 2563eb. Default: picked from the name.",
            "in": "query",
            "name": "bg",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Letter colour as hex. Default white.",
            "in": "query",
            "name": "fg",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Draw these letters instead (up to 4).",
            "in": "query",
            "name": "initials",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "svg (default) or png.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Avatar with initials",
        "tags": [
          "Generated images"
        ]
      }
    },
    "/v1/badge": {
      "get": {
        "description": "",
        "operationId": "badge",
        "parameters": [
          {
            "description": "Left part, up to 60 characters. Optional.",
            "in": "query",
            "name": "label",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Right part, up to 80 characters.",
            "in": "query",
            "name": "message",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Message colour: green, red, orange, yellow, blue, grey, purple, teal, or hex. Default blue.",
            "in": "query",
            "name": "color",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Label colour, hex. Default 555.",
            "in": "query",
            "name": "labelColor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "svg (default) or png.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "A badge of your own",
        "tags": [
          "README badges"
        ]
      }
    },
    "/v1/badge/dataset/{name}": {
      "get": {
        "description": "When one of this API's datasets was last updated; orange when older than 45 days.",
        "operationId": "badge_dataset_by_name",
        "parameters": [
          {
            "description": "A dataset name, as /healthz lists them.",
            "in": "path",
            "name": "name",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "svg (default) or png.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Dataset freshness badge",
        "tags": [
          "README badges"
        ]
      }
    },
    "/v1/badge/{kind}": {
      "get": {
        "description": "market: NSE open, closed or in its pre-open or closing session. holiday: the next holiday (bank by default; type and state as in /v1/holidays).",
        "operationId": "badge_by_kind",
        "parameters": [
          {
            "description": "Which badge.",
            "in": "path",
            "name": "kind",
            "required": true,
            "schema": {
              "enum": [
                "market",
                "holiday"
              ],
              "type": "string"
            }
          },
          {
            "description": "Your own label.",
            "in": "query",
            "name": "label",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "holiday: bank (default), market, central.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "State code or name, for example TN or Tamil Nadu.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "svg (default) or png.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Market or holiday badge",
        "tags": [
          "README badges"
        ]
      }
    },
    "/v1/banks": {
      "get": {
        "description": "Finds banks by name or code, largest branch network first.",
        "operationId": "banks",
        "parameters": [
          {
            "description": "Text to find in the bank name or code.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Results per page, 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Results to skip.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "branches": {
                                "type": "integer"
                              },
                              "code": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "upi": {
                                "type": "boolean"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Search banks",
        "tags": [
          "IFSC and banks"
        ]
      }
    },
    "/v1/banks/{code}": {
      "get": {
        "description": "",
        "operationId": "banks_by_code",
        "parameters": [
          {
            "description": "Four-letter bank code.",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "branches": {
                              "type": "integer"
                            },
                            "code": {
                              "type": "string"
                            },
                            "micr": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string"
                            },
                            "upi": {
                              "type": "boolean"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Bank for a four-letter code",
        "tags": [
          "IFSC and banks"
        ]
      }
    },
    "/v1/barcode/read": {
      "post": {
        "description": "Finds every QR code in a photo or screenshot, and Data Matrix, Aztec, EAN, UPC, Code 128, Code 39, Code 93, ITF and Codabar codes. Not PDF417. Returns each code's kind, text and position. Options go in the query string, or as form fields when the file is sent as multipart/form-data.",
        "operationId": "barcode_read",
        "parameters": [],
        "requestBody": {
          "content": {
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A picture: JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "format": {
                                "type": "string"
                              },
                              "points": {
                                "items": {
                                  "items": {
                                    "type": "integer"
                                  },
                                  "type": "array"
                                },
                                "type": "array"
                              },
                              "text": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Read QR codes and barcodes from a picture",
        "tags": [
          "QR codes and barcodes"
        ]
      }
    },
    "/v1/barcode/{type}": {
      "get": {
        "description": "Linear barcodes (code128, code39, code93, ean13, ean8, itf, codabar) and 2D codes (datamatrix, pdf417, aztec). Linear codes are sized with scale and height, 2D codes with size. No human-readable text is printed under the bars.",
        "operationId": "barcode_by_type",
        "parameters": [
          {
            "description": "Kind of barcode.",
            "in": "path",
            "name": "type",
            "required": true,
            "schema": {
              "enum": [
                "code128",
                "code39",
                "code93",
                "ean13",
                "ean8",
                "itf",
                "codabar",
                "datamatrix",
                "pdf417",
                "aztec"
              ],
              "type": "string"
            }
          },
          {
            "description": "Text to encode (or POST it).",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Linear codes: pixels per bar module, 1 to 10. Default 2.",
            "in": "query",
            "name": "scale",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Linear codes: bar height in pixels, 10 to 600. Default 80.",
            "in": "query",
            "name": "height",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Image format. Default svg.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            }
          },
          {
            "description": "2D codes: width in pixels to stay within, 32 to 2048. Default 256.",
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Light border, in modules, 0 to 16. The default depends on the code.",
            "in": "query",
            "name": "margin",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Dark colour, hex such as 000000. Default black.",
            "in": "query",
            "name": "fg",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Light colour, hex, or transparent. Default white.",
            "in": "query",
            "name": "bg",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Barcode",
        "tags": [
          "QR codes and barcodes"
        ]
      },
      "post": {
        "description": "Linear barcodes (code128, code39, code93, ean13, ean8, itf, codabar) and 2D codes (datamatrix, pdf417, aztec). Linear codes are sized with scale and height, 2D codes with size. No human-readable text is printed under the bars.",
        "operationId": "barcode_by_type_post",
        "parameters": [
          {
            "description": "Kind of barcode.",
            "in": "path",
            "name": "type",
            "required": true,
            "schema": {
              "enum": [
                "code128",
                "code39",
                "code93",
                "ean13",
                "ean8",
                "itf",
                "codabar",
                "datamatrix",
                "pdf417",
                "aztec"
              ],
              "type": "string"
            }
          },
          {
            "description": "Linear codes: pixels per bar module, 1 to 10. Default 2.",
            "in": "query",
            "name": "scale",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Linear codes: bar height in pixels, 10 to 600. Default 80.",
            "in": "query",
            "name": "height",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Image format. Default svg.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            }
          },
          {
            "description": "2D codes: width in pixels to stay within, 32 to 2048. Default 256.",
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Light border, in modules, 0 to 16. The default depends on the code.",
            "in": "query",
            "name": "margin",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Dark colour, hex such as 000000. Default black.",
            "in": "query",
            "name": "fg",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Light colour, hex, or transparent. Default white.",
            "in": "query",
            "name": "bg",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "bg": {
                    "description": "Light colour, hex, or transparent. Default white.",
                    "type": "string"
                  },
                  "fg": {
                    "description": "Dark colour, hex such as 000000. Default black.",
                    "type": "string"
                  },
                  "format": {
                    "description": "Image format. Default svg.",
                    "enum": [
                      "svg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "height": {
                    "description": "Linear codes: bar height in pixels, 10 to 600. Default 80.",
                    "type": "integer"
                  },
                  "margin": {
                    "description": "Light border, in modules, 0 to 16. The default depends on the code.",
                    "type": "integer"
                  },
                  "scale": {
                    "description": "Linear codes: pixels per bar module, 1 to 10. Default 2.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "2D codes: width in pixels to stay within, 32 to 2048. Default 256.",
                    "type": "integer"
                  },
                  "text": {
                    "description": "The text to encode.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text to encode. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Barcode",
        "tags": [
          "QR codes and barcodes"
        ]
      }
    },
    "/v1/batch": {
      "post": {
        "description": "Answers { data: [{kind, value, status, data or error}], meta }. With format=ndjson, one JSON line per answer instead. Send a CSV file as text/csv with kind (and column, the header of the column holding the values; by default the column named like the kind) to get the same file back with each answer's fields added as columns: a spreadsheet of pincodes comes back with district and state.",
        "operationId": "batch",
        "parameters": [
          {
            "description": "Default json; csv with a CSV body.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "json",
                "ndjson",
                "csv"
              ],
              "type": "string"
            }
          },
          {
            "description": "With a CSV body: the lookup, such as pincode or ifsc.",
            "in": "query",
            "name": "kind",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "With a CSV body: the header of the column holding the values.",
            "in": "query",
            "name": "column",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "kind": "pincode",
                "values": [
                  "637001",
                  "600001",
                  "110001"
                ]
              },
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "JSON: {\"kind\": \"pincode\", \"values\": [...]} for one kind, or {\"lookups\": [{\"kind\": \"ifsc\", \"value\": \"...\"}, ...]} for a mix. Kinds: airport, bank, company, gstin, hsn, ifsc, ifsc-format, pan, phone, pincode, rto, state, station, words. Or a CSV file (text/csv) to enrich.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "data": {
                                "properties": {
                                  "district": {
                                    "type": "string"
                                  },
                                  "offices": {
                                    "items": {
                                      "properties": {
                                        "circle": {
                                          "type": "string"
                                        },
                                        "delivery": {
                                          "type": "boolean"
                                        },
                                        "district": {
                                          "type": "string"
                                        },
                                        "division": {
                                          "type": "string"
                                        },
                                        "latitude": {
                                          "type": "number"
                                        },
                                        "longitude": {
                                          "type": "number"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "region": {
                                          "type": "string"
                                        },
                                        "state": {
                                          "type": "string"
                                        },
                                        "stateCode": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string"
                                        }
                                      },
                                      "type": "object"
                                    },
                                    "type": "array"
                                  },
                                  "pincode": {
                                    "type": "string"
                                  },
                                  "state": {
                                    "type": "string"
                                  },
                                  "stateCode": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "kind": {
                                "type": "string"
                              },
                              "status": {
                                "type": "integer"
                              },
                              "value": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Many lookups in one request",
        "tags": [
          "Batch lookups"
        ]
      }
    },
    "/v1/bin/{prefix}": {
      "get": {
        "description": "The longest known prefix of the digits given. More than eight digits is refused, so a card number is never looked up. Quality varies: the list is not the networks' own.",
        "operationId": "bin_by_prefix",
        "parameters": [
          {
            "description": "6 to 8 digits.",
            "in": "path",
            "name": "prefix",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Network, type and bank of a card prefix",
        "tags": [
          "Card BIN lookup"
        ]
      }
    },
    "/v1/braille": {
      "get": {
        "description": "Text in any Indian script (and digits) as Unicode braille cells, Grade 1. Check with a braille reader before printing for others.",
        "operationId": "braille",
        "parameters": [
          {
            "description": "The text, up to 5,000 characters.",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "braille": {
                              "type": "string"
                            },
                            "cells": {
                              "type": "integer"
                            },
                            "script": {
                              "type": "string"
                            },
                            "unwritten": {
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Bharati braille",
        "tags": [
          "Indic text tools"
        ]
      },
      "post": {
        "description": "Text in any Indian script (and digits) as Unicode braille cells, Grade 1. Check with a braille reader before printing for others.",
        "operationId": "braille_post",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "text": {
                    "description": "The text, as text/plain or JSON {\"text\": \"...\"}.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text, as text/plain or JSON {\"text\": \"...\"}. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "braille": {
                              "type": "string"
                            },
                            "cells": {
                              "type": "integer"
                            },
                            "script": {
                              "type": "string"
                            },
                            "unwritten": {
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Bharati braille",
        "tags": [
          "Indic text tools"
        ]
      }
    },
    "/v1/brand-logos": {
      "get": {
        "description": "Brands whose name, slug, alias or domain starts with q, or every brand. Each has its logo addresses and, under artwork, where the picture came from and its licence.",
        "operationId": "brand-logos",
        "parameters": [
          {
            "description": "Start of a name, alias or domain.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only this category.",
            "in": "query",
            "name": "category",
            "required": false,
            "schema": {
              "enum": [
                "payments",
                "fintech",
                "insurance",
                "mutual-fund",
                "commerce",
                "health",
                "mobility",
                "travel",
                "food",
                "education",
                "media",
                "gaming",
                "telecom",
                "tech",
                "government"
              ],
              "type": "string"
            }
          },
          {
            "description": "Results per page, 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Results to skip.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "aliases": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "artwork": {
                                "properties": {
                                  "author": {
                                    "type": "string"
                                  },
                                  "licence": {
                                    "type": "string"
                                  },
                                  "origin": {
                                    "type": "string"
                                  },
                                  "url": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "category": {
                                "type": "string"
                              },
                              "domain": {
                                "type": "string"
                              },
                              "hasLogo": {
                                "type": "boolean"
                              },
                              "id": {
                                "type": "string"
                              },
                              "logo": {
                                "properties": {
                                  "png": {
                                    "type": "string"
                                  },
                                  "svg": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "name": {
                                "type": "string"
                              },
                              "symbol": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Search the brands",
        "tags": [
          "Brand, stock and asset logos"
        ]
      }
    },
    "/v1/brand-logos/{name}": {
      "get": {
        "description": "Returns the image itself. Looked up by name, slug, an earlier or common name, or the brand's domain (phonepe, Google Pay, gpay, phonepe.com). A brand known only by its site icon is a 256-pixel picture; format=svg wraps it in an SVG.",
        "operationId": "brand-logos_by_name",
        "parameters": [
          {
            "description": "Brand name, slug, alias or domain. A .svg or .png suffix selects the format.",
            "in": "path",
            "name": "name",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Image format. Default svg.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            }
          },
          {
            "description": "PNG width and height in pixels, 16 to 512. Default 128.",
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "What an unknown name gets: monogram (the default, an initials tile) or none (404).",
            "in": "query",
            "name": "fallback",
            "required": false,
            "schema": {
              "enum": [
                "monogram",
                "none"
              ],
              "type": "string"
            }
          },
          {
            "description": "Only brands of this category.",
            "in": "query",
            "name": "category",
            "required": false,
            "schema": {
              "enum": [
                "payments",
                "fintech",
                "insurance",
                "mutual-fund",
                "commerce",
                "health",
                "mobility",
                "travel",
                "food",
                "education",
                "media",
                "gaming",
                "telecom",
                "tech",
                "government"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Logo of an unlisted Indian brand",
        "tags": [
          "Brand, stock and asset logos"
        ]
      }
    },
    "/v1/bullion": {
      "get": {
        "description": "",
        "operationId": "bullion",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Today's rates",
        "tags": [
          "Gold and silver rates"
        ]
      }
    },
    "/v1/bullion/history": {
      "get": {
        "description": "",
        "operationId": "bullion_history",
        "parameters": [
          {
            "description": "Default gold.",
            "in": "query",
            "name": "metal",
            "required": false,
            "schema": {
              "enum": [
                "gold",
                "silver",
                "platinum"
              ],
              "type": "string"
            }
          },
          {
            "description": "Default 999.",
            "in": "query",
            "name": "purity",
            "required": false,
            "schema": {
              "enum": [
                "999",
                "995",
                "916",
                "750",
                "585"
              ],
              "type": "string"
            }
          },
          {
            "description": "1 to 3650. Default 30.",
            "in": "query",
            "name": "days",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Rates over time",
        "tags": [
          "Gold and silver rates"
        ]
      }
    },
    "/v1/calc/capital-gains": {
      "get": {
        "description": "Short or long term, and the tax at the rates for sales from 23 July 2024: shares and equity funds, debt funds, property (with the indexation choice for land and buildings bought before that date), gold and other assets.",
        "operationId": "calc_capital-gains",
        "parameters": [
          {
            "description": "What was sold.",
            "in": "query",
            "name": "asset",
            "required": true,
            "schema": {
              "enum": [
                "equity",
                "equity-fund",
                "debt-fund",
                "property",
                "gold",
                "other"
              ],
              "type": "string"
            }
          },
          {
            "description": "Purchase date, YYYY-MM-DD.",
            "in": "query",
            "name": "bought",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Sale date, from 2024-07-23.",
            "in": "query",
            "name": "sold",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Purchase cost with improvement costs.",
            "in": "query",
            "name": "cost",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Sale price.",
            "in": "query",
            "name": "price",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Costs of the sale.",
            "in": "query",
            "name": "expenses",
            "required": false,
            "schema": {
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "cess": {
                              "type": "integer"
                            },
                            "exemption": {
                              "type": "integer"
                            },
                            "gain": {
                              "type": "integer"
                            },
                            "ratePercent": {
                              "type": "number"
                            },
                            "rule": {
                              "type": "string"
                            },
                            "tax": {
                              "type": "integer"
                            },
                            "term": {
                              "type": "string"
                            },
                            "total": {
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Capital gains tax",
        "tags": [
          "Money calculators"
        ]
      }
    },
    "/v1/calc/emi": {
      "get": {
        "description": "The monthly instalment of a reducing-balance loan, the total interest and, with schedule=true, every month's split of interest and principal.",
        "operationId": "calc_emi",
        "parameters": [
          {
            "description": "Loan amount.",
            "in": "query",
            "name": "amount",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Interest, percent a year.",
            "in": "query",
            "name": "rate",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Term in years (or give months).",
            "in": "query",
            "name": "years",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Term in months, 1 to 600.",
            "in": "query",
            "name": "months",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "true adds the month-by-month schedule.",
            "in": "query",
            "name": "schedule",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "emi": {
                              "type": "number"
                            },
                            "rule": {
                              "type": "string"
                            },
                            "totalInterest": {
                              "type": "number"
                            },
                            "totalPaid": {
                              "type": "number"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Loan EMI and schedule",
        "tags": [
          "Money calculators"
        ]
      }
    },
    "/v1/calc/gratuity": {
      "get": {
        "description": "",
        "operationId": "calc_gratuity",
        "parameters": [
          {
            "description": "Last monthly basic pay plus dearness allowance.",
            "in": "query",
            "name": "salary",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Years of service; 10.6 is ten years and about seven months.",
            "in": "query",
            "name": "years",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Covered by the Payment of Gratuity Act. Default true.",
            "in": "query",
            "name": "covered",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "amount": {
                              "type": "integer"
                            },
                            "eligible": {
                              "type": "boolean"
                            },
                            "rule": {
                              "type": "string"
                            },
                            "taxFree": {
                              "type": "integer"
                            },
                            "taxable": {
                              "type": "integer"
                            },
                            "yearsCounted": {
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Gratuity",
        "tags": [
          "Money calculators"
        ]
      }
    },
    "/v1/calc/gst": {
      "get": {
        "description": "Adds GST to an amount, or takes it out of one that includes it, split into CGST and SGST within a state or IGST between states.",
        "operationId": "calc_gst",
        "parameters": [
          {
            "description": "The amount.",
            "in": "query",
            "name": "amount",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "GST rate: 0, 0.1, 0.25, 1.5, 3, 5, 12, 18, 28 or 40.",
            "in": "query",
            "name": "rate",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "true when the amount already includes GST.",
            "in": "query",
            "name": "inclusive",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "true for a supply between states (IGST).",
            "in": "query",
            "name": "interstate",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "cgst": {
                              "type": "integer"
                            },
                            "interstate": {
                              "type": "boolean"
                            },
                            "rate": {
                              "type": "integer"
                            },
                            "rule": {
                              "type": "string"
                            },
                            "sgst": {
                              "type": "integer"
                            },
                            "tax": {
                              "type": "integer"
                            },
                            "taxable": {
                              "type": "integer"
                            },
                            "total": {
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "GST split",
        "tags": [
          "Money calculators"
        ]
      }
    },
    "/v1/calc/hra": {
      "get": {
        "description": "The tax-free part of house rent allowance under section 10(13A). Give every amount for the same period (a month or a year).",
        "operationId": "calc_hra",
        "parameters": [
          {
            "description": "Basic pay plus dearness allowance.",
            "in": "query",
            "name": "basic",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "HRA received.",
            "in": "query",
            "name": "hra",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Rent paid.",
            "in": "query",
            "name": "rent",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "true in Delhi, Mumbai, Kolkata or Chennai.",
            "in": "query",
            "name": "metro",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "exempt": {
                              "type": "integer"
                            },
                            "limits": {
                              "items": {
                                "type": "integer"
                              },
                              "type": "array"
                            },
                            "rule": {
                              "type": "string"
                            },
                            "taxable": {
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "HRA exemption",
        "tags": [
          "Money calculators"
        ]
      }
    },
    "/v1/calc/income-tax": {
      "get": {
        "description": "Tax on a year's income under the new regime (section 115BAC) and the old one, with the section 87A rebate, surcharge, marginal relief and 4% cess, slab by slab, and which regime costs less. Special-rate income such as capital gains is not included.",
        "operationId": "calc_income-tax",
        "parameters": [
          {
            "description": "Gross total income for the year, before the standard deduction.",
            "in": "query",
            "name": "income",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Financial year. Default the newest.",
            "in": "query",
            "name": "year",
            "required": false,
            "schema": {
              "enum": [
                "2026-27",
                "2025-26"
              ],
              "type": "string"
            }
          },
          {
            "description": "Default both.",
            "in": "query",
            "name": "regime",
            "required": false,
            "schema": {
              "enum": [
                "both",
                "new",
                "old"
              ],
              "type": "string"
            }
          },
          {
            "description": "Changes the old regime's exemption limit. Default below60.",
            "in": "query",
            "name": "age",
            "required": false,
            "schema": {
              "enum": [
                "below60",
                "60to80",
                "80plus"
              ],
              "type": "string"
            }
          },
          {
            "description": "Salary or pension, so the standard deduction applies. Default true.",
            "in": "query",
            "name": "salaried",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Old regime deductions and exemptions in all (80C, 80D, HRA, home loan interest...).",
            "in": "query",
            "name": "deductions",
            "required": false,
            "schema": {
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "better": {
                              "type": "string"
                            },
                            "inputs": {
                              "properties": {
                                "age": {
                                  "type": "string"
                                },
                                "deductions": {
                                  "type": "integer"
                                },
                                "income": {
                                  "type": "integer"
                                },
                                "salaried": {
                                  "type": "boolean"
                                },
                                "year": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "new": {
                              "properties": {
                                "cess": {
                                  "type": "integer"
                                },
                                "deductions": {
                                  "type": "integer"
                                },
                                "effectiveRatePercent": {
                                  "type": "number"
                                },
                                "marginalRelief": {
                                  "type": "boolean"
                                },
                                "perMonth": {
                                  "type": "integer"
                                },
                                "rebate87A": {
                                  "type": "integer"
                                },
                                "regime": {
                                  "type": "string"
                                },
                                "slabs": {
                                  "items": {
                                    "properties": {
                                      "amount": {
                                        "type": "integer"
                                      },
                                      "from": {
                                        "type": "integer"
                                      },
                                      "rate": {
                                        "type": "integer"
                                      },
                                      "tax": {
                                        "type": "integer"
                                      },
                                      "to": {
                                        "type": "integer"
                                      }
                                    },
                                    "type": "object"
                                  },
                                  "type": "array"
                                },
                                "standardDeduction": {
                                  "type": "integer"
                                },
                                "surcharge": {
                                  "type": "integer"
                                },
                                "taxOnIncome": {
                                  "type": "integer"
                                },
                                "taxableIncome": {
                                  "type": "integer"
                                },
                                "total": {
                                  "type": "integer"
                                }
                              },
                              "type": "object"
                            },
                            "old": {
                              "properties": {
                                "cess": {
                                  "type": "integer"
                                },
                                "deductions": {
                                  "type": "integer"
                                },
                                "effectiveRatePercent": {
                                  "type": "number"
                                },
                                "marginalRelief": {
                                  "type": "boolean"
                                },
                                "perMonth": {
                                  "type": "integer"
                                },
                                "rebate87A": {
                                  "type": "integer"
                                },
                                "regime": {
                                  "type": "string"
                                },
                                "slabs": {
                                  "items": {
                                    "properties": {
                                      "amount": {
                                        "type": "integer"
                                      },
                                      "from": {
                                        "type": "integer"
                                      },
                                      "rate": {
                                        "type": "integer"
                                      },
                                      "tax": {
                                        "type": "integer"
                                      },
                                      "to": {
                                        "type": "integer"
                                      }
                                    },
                                    "type": "object"
                                  },
                                  "type": "array"
                                },
                                "standardDeduction": {
                                  "type": "integer"
                                },
                                "surcharge": {
                                  "type": "integer"
                                },
                                "taxOnIncome": {
                                  "type": "integer"
                                },
                                "taxableIncome": {
                                  "type": "integer"
                                },
                                "total": {
                                  "type": "integer"
                                }
                              },
                              "type": "object"
                            },
                            "rule": {
                              "type": "string"
                            },
                            "saves": {
                              "type": "integer"
                            },
                            "year": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Income tax, old and new regime",
        "tags": [
          "Money calculators"
        ]
      }
    },
    "/v1/calc/lumpsum": {
      "get": {
        "description": "",
        "operationId": "calc_lumpsum",
        "parameters": [
          {
            "description": "Amount invested once.",
            "in": "query",
            "name": "amount",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Expected return, percent a year.",
            "in": "query",
            "name": "rate",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "1 to 60.",
            "in": "query",
            "name": "years",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "gain": {
                              "type": "number"
                            },
                            "invested": {
                              "type": "integer"
                            },
                            "rule": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Lump sum growth",
        "tags": [
          "Money calculators"
        ]
      }
    },
    "/v1/calc/ppf": {
      "get": {
        "description": "",
        "operationId": "calc_ppf",
        "parameters": [
          {
            "description": "Yearly deposit, 500 to 1,50,000.",
            "in": "query",
            "name": "yearly",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "15, or 15 plus blocks of 5. Default 15.",
            "in": "query",
            "name": "years",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Interest, percent a year. Default the current rate.",
            "in": "query",
            "name": "rate",
            "required": false,
            "schema": {
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "deposited": {
                              "type": "integer"
                            },
                            "interest": {
                              "type": "integer"
                            },
                            "maturity": {
                              "type": "integer"
                            },
                            "rule": {
                              "type": "string"
                            },
                            "years": {
                              "items": {
                                "properties": {
                                  "balance": {
                                    "type": "integer"
                                  },
                                  "interest": {
                                    "type": "integer"
                                  },
                                  "year": {
                                    "type": "integer"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "PPF maturity",
        "tags": [
          "Money calculators"
        ]
      }
    },
    "/v1/calc/sip": {
      "get": {
        "description": "What a monthly investment grows to, year by year, with an optional yearly step-up of the amount.",
        "operationId": "calc_sip",
        "parameters": [
          {
            "description": "Monthly amount.",
            "in": "query",
            "name": "monthly",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Expected return, percent a year.",
            "in": "query",
            "name": "rate",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "1 to 60.",
            "in": "query",
            "name": "years",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Yearly increase of the monthly amount, percent.",
            "in": "query",
            "name": "stepup",
            "required": false,
            "schema": {
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "gain": {
                              "type": "number"
                            },
                            "inputs": {
                              "properties": {
                                "monthly": {
                                  "type": "integer"
                                },
                                "returnPercent": {
                                  "type": "integer"
                                },
                                "stepUpPercent": {
                                  "type": "integer"
                                },
                                "years": {
                                  "type": "integer"
                                }
                              },
                              "type": "object"
                            },
                            "invested": {
                              "type": "integer"
                            },
                            "rule": {
                              "type": "string"
                            },
                            "value": {
                              "type": "number"
                            },
                            "years": {
                              "items": {
                                "properties": {
                                  "invested": {
                                    "type": "integer"
                                  },
                                  "monthly": {
                                    "type": "integer"
                                  },
                                  "value": {
                                    "type": "number"
                                  },
                                  "year": {
                                    "type": "integer"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "SIP returns",
        "tags": [
          "Money calculators"
        ]
      }
    },
    "/v1/calc/trade": {
      "get": {
        "description": "Every charge on buying and selling an NSE share (STT, exchange charges, SEBI fee, stamp duty, GST), the net profit and the move needed to break even.",
        "operationId": "calc_trade",
        "parameters": [
          {
            "description": "Buy price per share.",
            "in": "query",
            "name": "buy",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Sell price per share.",
            "in": "query",
            "name": "sell",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Shares.",
            "in": "query",
            "name": "quantity",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Default delivery.",
            "in": "query",
            "name": "kind",
            "required": false,
            "schema": {
              "enum": [
                "delivery",
                "intraday"
              ],
              "type": "string"
            }
          },
          {
            "description": "Your broker's charge per order, in rupees.",
            "in": "query",
            "name": "brokerage",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Depository charge on a delivery sale.",
            "in": "query",
            "name": "dp",
            "required": false,
            "schema": {
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "breakevenPoints": {
                              "type": "number"
                            },
                            "charges": {
                              "properties": {
                                "brokerage": {
                                  "type": "integer"
                                },
                                "dp": {
                                  "type": "integer"
                                },
                                "exchange": {
                                  "type": "number"
                                },
                                "gst": {
                                  "type": "number"
                                },
                                "sebi": {
                                  "type": "number"
                                },
                                "stampDuty": {
                                  "type": "integer"
                                },
                                "stt": {
                                  "type": "integer"
                                }
                              },
                              "type": "object"
                            },
                            "grossProfit": {
                              "type": "integer"
                            },
                            "netProfit": {
                              "type": "number"
                            },
                            "rule": {
                              "type": "string"
                            },
                            "totalCharges": {
                              "type": "number"
                            },
                            "turnover": {
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Share trade charges",
        "tags": [
          "Money calculators"
        ]
      }
    },
    "/v1/census": {
      "get": {
        "description": "Places whose names contain the words, exact names first, then the largest; at most 50, each with its code and population.",
        "operationId": "census",
        "parameters": [
          {
            "description": "3 to 60 letters, such as madurai.",
            "in": "query",
            "name": "q",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only this kind of place.",
            "in": "query",
            "name": "level",
            "required": false,
            "schema": {
              "enum": [
                "state",
                "district",
                "subdistrict",
                "town"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "level": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "population": {
                                "type": "integer"
                              },
                              "state": {
                                "properties": {
                                  "code": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Find a place by name",
        "tags": [
          "Census 2011 figures"
        ]
      }
    },
    "/v1/census/{level}/{code}": {
      "get": {
        "description": "figures holds total, rural and urban (a town has urban only); rates the literacy rate (of people aged 7 and over), sex ratio (females per 1,000 males), child sex ratio, work participation and the urban share. children lists the places one level down with their population. India is /v1/census/india/0.",
        "operationId": "census_by_level_by_code",
        "parameters": [
          {
            "description": "Which kind of place.",
            "in": "path",
            "name": "level",
            "required": true,
            "schema": {
              "enum": [
                "india",
                "state",
                "district",
                "subdistrict",
                "town"
              ],
              "type": "string"
            }
          },
          {
            "description": "The 2011 census code: 33 for Tamil Nadu, 632 for Coimbatore district (from a search).",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "children": {
                              "items": {
                                "properties": {
                                  "code": {
                                    "type": "string"
                                  },
                                  "level": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "population": {
                                    "type": "integer"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "code": {
                              "type": "string"
                            },
                            "figures": {
                              "properties": {
                                "rural": {
                                  "properties": {
                                    "agricultural_labourers": {
                                      "type": "integer"
                                    },
                                    "boys": {
                                      "type": "integer"
                                    },
                                    "children": {
                                      "type": "integer"
                                    },
                                    "cultivators": {
                                      "type": "integer"
                                    },
                                    "female_workers": {
                                      "type": "integer"
                                    },
                                    "females": {
                                      "type": "integer"
                                    },
                                    "girls": {
                                      "type": "integer"
                                    },
                                    "household_industry": {
                                      "type": "integer"
                                    },
                                    "households": {
                                      "type": "integer"
                                    },
                                    "literate": {
                                      "type": "integer"
                                    },
                                    "literate_females": {
                                      "type": "integer"
                                    },
                                    "literate_males": {
                                      "type": "integer"
                                    },
                                    "main_workers": {
                                      "type": "integer"
                                    },
                                    "male_workers": {
                                      "type": "integer"
                                    },
                                    "males": {
                                      "type": "integer"
                                    },
                                    "marginal_workers": {
                                      "type": "integer"
                                    },
                                    "non_workers": {
                                      "type": "integer"
                                    },
                                    "other_workers": {
                                      "type": "integer"
                                    },
                                    "persons": {
                                      "type": "integer"
                                    },
                                    "sc": {
                                      "type": "integer"
                                    },
                                    "st": {
                                      "type": "integer"
                                    },
                                    "workers": {
                                      "type": "integer"
                                    }
                                  },
                                  "type": "object"
                                },
                                "total": {
                                  "properties": {
                                    "agricultural_labourers": {
                                      "type": "integer"
                                    },
                                    "boys": {
                                      "type": "integer"
                                    },
                                    "children": {
                                      "type": "integer"
                                    },
                                    "cultivators": {
                                      "type": "integer"
                                    },
                                    "female_workers": {
                                      "type": "integer"
                                    },
                                    "females": {
                                      "type": "integer"
                                    },
                                    "girls": {
                                      "type": "integer"
                                    },
                                    "household_industry": {
                                      "type": "integer"
                                    },
                                    "households": {
                                      "type": "integer"
                                    },
                                    "literate": {
                                      "type": "integer"
                                    },
                                    "literate_females": {
                                      "type": "integer"
                                    },
                                    "literate_males": {
                                      "type": "integer"
                                    },
                                    "main_workers": {
                                      "type": "integer"
                                    },
                                    "male_workers": {
                                      "type": "integer"
                                    },
                                    "males": {
                                      "type": "integer"
                                    },
                                    "marginal_workers": {
                                      "type": "integer"
                                    },
                                    "non_workers": {
                                      "type": "integer"
                                    },
                                    "other_workers": {
                                      "type": "integer"
                                    },
                                    "persons": {
                                      "type": "integer"
                                    },
                                    "sc": {
                                      "type": "integer"
                                    },
                                    "st": {
                                      "type": "integer"
                                    },
                                    "workers": {
                                      "type": "integer"
                                    }
                                  },
                                  "type": "object"
                                },
                                "urban": {
                                  "properties": {
                                    "agricultural_labourers": {
                                      "type": "integer"
                                    },
                                    "boys": {
                                      "type": "integer"
                                    },
                                    "children": {
                                      "type": "integer"
                                    },
                                    "cultivators": {
                                      "type": "integer"
                                    },
                                    "female_workers": {
                                      "type": "integer"
                                    },
                                    "females": {
                                      "type": "integer"
                                    },
                                    "girls": {
                                      "type": "integer"
                                    },
                                    "household_industry": {
                                      "type": "integer"
                                    },
                                    "households": {
                                      "type": "integer"
                                    },
                                    "literate": {
                                      "type": "integer"
                                    },
                                    "literate_females": {
                                      "type": "integer"
                                    },
                                    "literate_males": {
                                      "type": "integer"
                                    },
                                    "main_workers": {
                                      "type": "integer"
                                    },
                                    "male_workers": {
                                      "type": "integer"
                                    },
                                    "males": {
                                      "type": "integer"
                                    },
                                    "marginal_workers": {
                                      "type": "integer"
                                    },
                                    "non_workers": {
                                      "type": "integer"
                                    },
                                    "other_workers": {
                                      "type": "integer"
                                    },
                                    "persons": {
                                      "type": "integer"
                                    },
                                    "sc": {
                                      "type": "integer"
                                    },
                                    "st": {
                                      "type": "integer"
                                    },
                                    "workers": {
                                      "type": "integer"
                                    }
                                  },
                                  "type": "object"
                                }
                              },
                              "type": "object"
                            },
                            "level": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "rates": {
                              "properties": {
                                "child_sex_ratio": {
                                  "type": "integer"
                                },
                                "female_literacy_rate": {
                                  "type": "number"
                                },
                                "literacy_rate": {
                                  "type": "number"
                                },
                                "male_literacy_rate": {
                                  "type": "number"
                                },
                                "sex_ratio": {
                                  "type": "integer"
                                },
                                "urban_share": {
                                  "type": "number"
                                },
                                "work_participation_rate": {
                                  "type": "number"
                                }
                              },
                              "type": "object"
                            },
                            "state": {
                              "properties": {
                                "code": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Figures for a place, and the places inside it",
        "tags": [
          "Census 2011 figures"
        ]
      }
    },
    "/v1/chart": {
      "get": {
        "description": "A bar, line, pie or sparkline chart as SVG or PNG, for emails, chat bots, READMEs and anywhere JavaScript charts cannot run. Axis values are written the Indian way (K, L, Cr). In the query: values=3,5,2 (repeat values for more series, with names to name them) and labels=Jan,Feb,Mar. Counts as 10 against the rate limit.",
        "operationId": "chart",
        "parameters": [
          {
            "description": "Default bar.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "bar",
                "line",
                "pie",
                "sparkline"
              ],
              "type": "string"
            }
          },
          {
            "description": "Numbers separated by commas. Repeat the parameter for more series.",
            "in": "query",
            "name": "values",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Labels for the values, separated by commas.",
            "in": "query",
            "name": "labels",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "A name for each series: repeated like values, or separated by commas.",
            "in": "query",
            "name": "names",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Title above the chart.",
            "in": "query",
            "name": "title",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Pixels, 40 to 3000. Default 800 (160 for a sparkline).",
            "in": "query",
            "name": "width",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Pixels, 20 to 3000. Default 450 (40 for a sparkline).",
            "in": "query",
            "name": "height",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Default light.",
            "in": "query",
            "name": "theme",
            "required": false,
            "schema": {
              "enum": [
                "light",
                "dark"
              ],
              "type": "string"
            }
          },
          {
            "description": "svg (default) or png.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Chart image from numbers",
        "tags": [
          "Generated images"
        ]
      },
      "post": {
        "description": "A bar, line, pie or sparkline chart as SVG or PNG, for emails, chat bots, READMEs and anywhere JavaScript charts cannot run. Axis values are written the Indian way (K, L, Cr). In the query: values=3,5,2 (repeat values for more series, with names to name them) and labels=Jan,Feb,Mar. Counts as 10 against the rate limit.",
        "operationId": "chart_post",
        "parameters": [
          {
            "description": "Default bar.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "bar",
                "line",
                "pie",
                "sparkline"
              ],
              "type": "string"
            }
          },
          {
            "description": "Numbers separated by commas. Repeat the parameter for more series.",
            "in": "query",
            "name": "values",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Labels for the values, separated by commas.",
            "in": "query",
            "name": "labels",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "A name for each series: repeated like values, or separated by commas.",
            "in": "query",
            "name": "names",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Title above the chart.",
            "in": "query",
            "name": "title",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Pixels, 40 to 3000. Default 800 (160 for a sparkline).",
            "in": "query",
            "name": "width",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Pixels, 20 to 3000. Default 450 (40 for a sparkline).",
            "in": "query",
            "name": "height",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Default light.",
            "in": "query",
            "name": "theme",
            "required": false,
            "schema": {
              "enum": [
                "light",
                "dark"
              ],
              "type": "string"
            }
          },
          {
            "description": "svg (default) or png.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "format": {
                    "description": "svg (default) or png.",
                    "enum": [
                      "svg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "height": {
                    "description": "Pixels, 20 to 3000. Default 450 (40 for a sparkline).",
                    "type": "integer"
                  },
                  "labels": {
                    "description": "Labels for the values, separated by commas.",
                    "type": "string"
                  },
                  "names": {
                    "description": "A name for each series: repeated like values, or separated by commas.",
                    "type": "string"
                  },
                  "text": {
                    "description": "A chart as JSON: {\"type\": \"bar\", \"title\": \"...\", \"labels\": [...], \"series\": [{\"name\": \"...\", \"values\": [...], \"color\": \"2563eb\"}], \"width\": 800, \"height\": 450}.",
                    "type": "string"
                  },
                  "theme": {
                    "description": "Default light.",
                    "enum": [
                      "light",
                      "dark"
                    ],
                    "type": "string"
                  },
                  "title": {
                    "description": "Title above the chart.",
                    "type": "string"
                  },
                  "type": {
                    "description": "Default bar.",
                    "enum": [
                      "bar",
                      "line",
                      "pie",
                      "sparkline"
                    ],
                    "type": "string"
                  },
                  "values": {
                    "description": "Numbers separated by commas. Repeat the parameter for more series.",
                    "type": "string"
                  },
                  "width": {
                    "description": "Pixels, 40 to 3000. Default 800 (160 for a sparkline).",
                    "type": "integer"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "A chart as JSON: {\"type\": \"bar\", \"title\": \"...\", \"labels\": [...], \"series\": [{\"name\": \"...\", \"values\": [...], \"color\": \"2563eb\"}], \"width\": 800, \"height\": 450}. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Chart image from numbers",
        "tags": [
          "Generated images"
        ]
      }
    },
    "/v1/chat/completions": {
      "post": {
        "description": "OpenAI's chat completions request and answer (not this API's envelope): messages, max_tokens up to 1,024 (default 512), temperature, top_p, stop, seed, response_format (json_object or json_schema) and stream (server-sent events). The window is 4,096 tokens; messages up to 16,000 characters. No tools, images or audio. Any model name is accepted. Needs a free API key from the start: https://lookmetechnology.com/signup",
        "operationId": "chat_completions",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "model": "qwen2.5-1.5b-instruct",
                "messages": [
                  {
                    "role": "user",
                    "content": "Write a two-line welcome message for a food delivery app."
                  }
                ],
                "max_tokens": 80
              },
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "A JSON document as below.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Chat, OpenAI-compatible",
        "tags": [
          "Small LLM (English)"
        ],
        "x-key-required": true
      }
    },
    "/v1/classics": {
      "get": {
        "description": "",
        "operationId": "classics",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "author": {
                                "type": "string"
                              },
                              "id": {
                                "type": "string"
                              },
                              "language": {
                                "type": "string"
                              },
                              "note": {
                                "type": "string"
                              },
                              "part_name": {
                                "type": "string"
                              },
                              "source": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "title_en": {
                                "type": "string"
                              },
                              "unit_name": {
                                "type": "string"
                              },
                              "units": {
                                "type": "integer"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "The texts",
        "tags": [
          "Indian classics"
        ]
      }
    },
    "/v1/classics/{text}": {
      "get": {
        "description": "",
        "operationId": "classics_by_text",
        "parameters": [
          {
            "description": "Which text.",
            "in": "path",
            "name": "text",
            "required": true,
            "schema": {
              "enum": [
                "aathichoodi",
                "gita",
                "kabir"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "author": {
                              "type": "string"
                            },
                            "id": {
                              "type": "string"
                            },
                            "language": {
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            },
                            "part_name": {
                              "type": "string"
                            },
                            "parts": {
                              "items": {
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "number": {
                                    "type": "integer"
                                  },
                                  "units": {
                                    "type": "integer"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "source": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "title_en": {
                              "type": "string"
                            },
                            "unit_name": {
                              "type": "string"
                            },
                            "units": {
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "A text and its parts",
        "tags": [
          "Indian classics"
        ]
      }
    },
    "/v1/classics/{text}/{ref}": {
      "get": {
        "description": "ref is part.number (gita 2.47, kabir 1.3), a part alone for all of it (gita 2), random, or for Aathichoodi a line number (1 to 109).",
        "operationId": "classics_by_text_by_ref",
        "parameters": [
          {
            "description": "Which text.",
            "in": "path",
            "name": "text",
            "required": true,
            "schema": {
              "enum": [
                "aathichoodi",
                "gita",
                "kabir"
              ],
              "type": "string"
            }
          },
          {
            "description": "2.47, 2, random, or 7 for Aathichoodi.",
            "in": "path",
            "name": "ref",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "lines": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "number": {
                              "type": "integer"
                            },
                            "part": {
                              "type": "integer"
                            },
                            "part_name": {
                              "type": "string"
                            },
                            "ref": {
                              "type": "string"
                            },
                            "text": {
                              "type": "string"
                            },
                            "transliteration": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "A verse, a whole part, or a random one",
        "tags": [
          "Indian classics"
        ]
      }
    },
    "/v1/code-image": {
      "get": {
        "description": "A code snippet as a window with syntax colouring. Up to 150 lines of 140 characters. PNGs are drawn at twice the pixel density for sharp text (very large ones at single). The language is guessed from the title's file extension or the code when not given, and reported in the X-Code-Language header.",
        "operationId": "code-image",
        "parameters": [
          {
            "description": "The code (or POST it).",
            "in": "query",
            "name": "code",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Language name or file extension, such as go, python, js, sql.",
            "in": "query",
            "name": "language",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "File name shown in the title bar.",
            "in": "query",
            "name": "title",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Default dark.",
            "in": "query",
            "name": "theme",
            "required": false,
            "schema": {
              "enum": [
                "dark",
                "light"
              ],
              "type": "string"
            }
          },
          {
            "description": "Show line numbers.",
            "in": "query",
            "name": "lineNumbers",
            "required": false,
            "schema": {
              "enum": [
                "true"
              ],
              "type": "string"
            }
          },
          {
            "description": "Default png.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "png",
                "svg"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Code as an image",
        "tags": [
          "Generated images"
        ]
      },
      "post": {
        "description": "A code snippet as a window with syntax colouring. Up to 150 lines of 140 characters. PNGs are drawn at twice the pixel density for sharp text (very large ones at single). The language is guessed from the title's file extension or the code when not given, and reported in the X-Code-Language header.",
        "operationId": "code-image_post",
        "parameters": [
          {
            "description": "The code (or POST it).",
            "in": "query",
            "name": "code",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Language name or file extension, such as go, python, js, sql.",
            "in": "query",
            "name": "language",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "File name shown in the title bar.",
            "in": "query",
            "name": "title",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Default dark.",
            "in": "query",
            "name": "theme",
            "required": false,
            "schema": {
              "enum": [
                "dark",
                "light"
              ],
              "type": "string"
            }
          },
          {
            "description": "Show line numbers.",
            "in": "query",
            "name": "lineNumbers",
            "required": false,
            "schema": {
              "enum": [
                "true"
              ],
              "type": "string"
            }
          },
          {
            "description": "Default png.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "png",
                "svg"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "code": {
                    "description": "The code (or POST it).",
                    "type": "string"
                  },
                  "format": {
                    "description": "Default png.",
                    "enum": [
                      "png",
                      "svg"
                    ],
                    "type": "string"
                  },
                  "language": {
                    "description": "Language name or file extension, such as go, python, js, sql.",
                    "type": "string"
                  },
                  "lineNumbers": {
                    "description": "Show line numbers.",
                    "enum": [
                      "true"
                    ],
                    "type": "string"
                  },
                  "text": {
                    "description": "The code.",
                    "type": "string"
                  },
                  "theme": {
                    "description": "Default dark.",
                    "enum": [
                      "dark",
                      "light"
                    ],
                    "type": "string"
                  },
                  "title": {
                    "description": "File name shown in the title bar.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The code. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Code as an image",
        "tags": [
          "Generated images"
        ]
      }
    },
    "/v1/color/contrast": {
      "get": {
        "description": "",
        "operationId": "color_contrast",
        "parameters": [
          {
            "description": "Text colour.",
            "in": "query",
            "name": "fg",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Background colour.",
            "in": "query",
            "name": "bg",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "bg": {
                              "type": "string"
                            },
                            "contrast": {
                              "properties": {
                                "passes": {
                                  "properties": {
                                    "AA": {
                                      "type": "boolean"
                                    },
                                    "AAA": {
                                      "type": "boolean"
                                    },
                                    "AAALarge": {
                                      "type": "boolean"
                                    },
                                    "AALarge": {
                                      "type": "boolean"
                                    },
                                    "nonText": {
                                      "type": "boolean"
                                    }
                                  },
                                  "type": "object"
                                },
                                "ratio": {
                                  "type": "number"
                                },
                                "suggestion": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "fg": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Contrast check",
        "tags": [
          "Colours"
        ]
      }
    },
    "/v1/color/palette": {
      "post": {
        "description": "Its main colours with their shares and a readable text colour for each. Options go in the query string, or as form fields when the file is sent as multipart/form-data.",
        "operationId": "color_palette",
        "parameters": [
          {
            "description": "Colours, 1 to 16. Default 6.",
            "in": "query",
            "name": "count",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A picture: JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "hex": {
                                "type": "string"
                              },
                              "share": {
                                "type": "number"
                              },
                              "textColor": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Palette of a picture",
        "tags": [
          "Colours"
        ]
      }
    },
    "/v1/color/{color}": {
      "get": {
        "description": "",
        "operationId": "color_by_color",
        "parameters": [
          {
            "description": "Hex (with or without #, written %23), rgb(...), hsl(...) or a name such as saffron.",
            "in": "path",
            "name": "color",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "css": {
                              "properties": {
                                "hsl": {
                                  "type": "string"
                                },
                                "oklch": {
                                  "type": "string"
                                },
                                "rgb": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "hex": {
                              "type": "string"
                            },
                            "hsl": {
                              "properties": {
                                "h": {
                                  "type": "integer"
                                },
                                "l": {
                                  "type": "integer"
                                },
                                "s": {
                                  "type": "integer"
                                }
                              },
                              "type": "object"
                            },
                            "luminance": {
                              "type": "number"
                            },
                            "oklch": {
                              "properties": {
                                "c": {
                                  "type": "number"
                                },
                                "h": {
                                  "type": "number"
                                },
                                "l": {
                                  "type": "number"
                                }
                              },
                              "type": "object"
                            },
                            "rgb": {
                              "items": {
                                "type": "integer"
                              },
                              "type": "array"
                            },
                            "textColor": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "One colour every way",
        "tags": [
          "Colours"
        ]
      }
    },
    "/v1/companies": {
      "get": {
        "description": "Searches ticker, earlier tickers, company name, sector, industry, ISIN and index names. Best match first. Delisted companies are left out unless delisted=true.",
        "operationId": "companies",
        "parameters": [
          {
            "description": "Search text.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Limit to one exchange.",
            "in": "query",
            "name": "exchange",
            "required": false,
            "schema": {
              "enum": [
                "nse",
                "bse"
              ],
              "type": "string"
            }
          },
          {
            "description": "Exact sector name.",
            "in": "query",
            "name": "sector",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Index name, for example Nifty 50.",
            "in": "query",
            "name": "index",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Include delisted companies. Default false.",
            "in": "query",
            "name": "delisted",
            "required": false,
            "schema": {
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "Results per page, 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Results to skip.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "aliases": {
                                "type": "array"
                              },
                              "company": {
                                "type": "string"
                              },
                              "currency": {
                                "type": "string"
                              },
                              "delistedOn": {},
                              "exchange": {
                                "type": "string"
                              },
                              "hasLogo": {
                                "type": "boolean"
                              },
                              "id": {
                                "type": "string"
                              },
                              "indexes": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "industry": {
                                "type": "string"
                              },
                              "isIndexConstituent": {
                                "type": "boolean"
                              },
                              "isin": {
                                "type": "string"
                              },
                              "links": {
                                "properties": {
                                  "self": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "listed": {
                                "type": "boolean"
                              },
                              "logo": {
                                "properties": {
                                  "png": {
                                    "type": "string"
                                  },
                                  "svg": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "marketCap": {
                                "type": "number"
                              },
                              "oneLine": {
                                "type": "string"
                              },
                              "sector": {
                                "type": "string"
                              },
                              "ticker": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Search listed companies",
        "tags": [
          "Company logos"
        ]
      }
    },
    "/v1/companies/{symbol}": {
      "get": {
        "description": "Name, sector, industry, ISIN, market capitalisation, index memberships and logo URLs. listed is false for a delisted company (with delistedOn, the date it was first missed); aliases holds earlier tickers; hasLogo is false when the logo URL serves an initials tile.",
        "operationId": "companies_by_symbol",
        "parameters": [
          {
            "description": "Ticker, exchange-qualified ticker, Yahoo symbol, ISIN or earlier ticker.",
            "in": "path",
            "name": "symbol",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Force an exchange.",
            "in": "query",
            "name": "exchange",
            "required": false,
            "schema": {
              "enum": [
                "nse",
                "bse"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "aliases": {
                              "type": "array"
                            },
                            "company": {
                              "type": "string"
                            },
                            "currency": {
                              "type": "string"
                            },
                            "delistedOn": {},
                            "exchange": {
                              "type": "string"
                            },
                            "hasLogo": {
                              "type": "boolean"
                            },
                            "id": {
                              "type": "string"
                            },
                            "indexes": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "industry": {
                              "type": "string"
                            },
                            "isIndexConstituent": {
                              "type": "boolean"
                            },
                            "isin": {
                              "type": "string"
                            },
                            "links": {
                              "properties": {
                                "self": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "listed": {
                              "type": "boolean"
                            },
                            "logo": {
                              "properties": {
                                "png": {
                                  "type": "string"
                                },
                                "svg": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "marketCap": {
                              "type": "integer"
                            },
                            "oneLine": {
                              "type": "string"
                            },
                            "sector": {
                              "type": "string"
                            },
                            "ticker": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Details of a listed company",
        "tags": [
          "Company logos"
        ]
      }
    },
    "/v1/constituency": {
      "get": {
        "description": "",
        "operationId": "constituency",
        "parameters": [
          {
            "description": "Indian pincode (the average position of its post offices).",
            "in": "query",
            "name": "pincode",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Latitude, if no pincode.",
            "in": "query",
            "name": "lat",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Longitude, if no pincode.",
            "in": "query",
            "name": "lng",
            "required": false,
            "schema": {
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "assembly": {
                              "properties": {
                                "district": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "number": {
                                  "type": "integer"
                                },
                                "parliamentName": {
                                  "type": "string"
                                },
                                "parliamentNumber": {
                                  "type": "integer"
                                },
                                "reserved": {
                                  "type": "string"
                                },
                                "state": {
                                  "type": "string"
                                },
                                "stateCode": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "latitude": {
                              "type": "number"
                            },
                            "longitude": {
                              "type": "number"
                            },
                            "parliament": {
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "nameHindi": {
                                  "type": "string"
                                },
                                "number": {
                                  "type": "integer"
                                },
                                "reserved": {
                                  "type": "string"
                                },
                                "state": {
                                  "type": "string"
                                },
                                "stateCode": {
                                  "type": "string"
                                },
                                "wikidata": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "pincode": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Constituencies of a place",
        "tags": [
          "Constituencies"
        ]
      }
    },
    "/v1/convert": {
      "get": {
        "description": "Reads JSON, YAML, TOML, CSV or XML and writes any of them. The input format is guessed when from is not given.",
        "operationId": "convert",
        "parameters": [
          {
            "description": "The document, for short ones.",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Its format. Default: guessed.",
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "enum": [
                "json",
                "yaml",
                "toml",
                "csv",
                "xml"
              ],
              "type": "string"
            }
          },
          {
            "description": "Default json.",
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "enum": [
                "json",
                "yaml",
                "toml",
                "csv",
                "xml"
              ],
              "type": "string"
            }
          },
          {
            "description": "true answers with the converted document itself.",
            "in": "query",
            "name": "raw",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "output": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Convert between data formats",
        "tags": [
          "Data format tools"
        ]
      },
      "post": {
        "description": "Reads JSON, YAML, TOML, CSV or XML and writes any of them. The input format is guessed when from is not given.",
        "operationId": "convert_post",
        "parameters": [
          {
            "description": "Its format. Default: guessed.",
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "enum": [
                "json",
                "yaml",
                "toml",
                "csv",
                "xml"
              ],
              "type": "string"
            }
          },
          {
            "description": "Default json.",
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "enum": [
                "json",
                "yaml",
                "toml",
                "csv",
                "xml"
              ],
              "type": "string"
            }
          },
          {
            "description": "true answers with the converted document itself.",
            "in": "query",
            "name": "raw",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "from": {
                    "description": "Its format. Default: guessed.",
                    "enum": [
                      "json",
                      "yaml",
                      "toml",
                      "csv",
                      "xml"
                    ],
                    "type": "string"
                  },
                  "raw": {
                    "description": "true answers with the converted document itself.",
                    "type": "boolean"
                  },
                  "text": {
                    "description": "The document, as text/plain, or JSON {\"text\": \"...\", \"from\": \"yaml\", \"to\": \"json\"}.",
                    "type": "string"
                  },
                  "to": {
                    "description": "Default json.",
                    "enum": [
                      "json",
                      "yaml",
                      "toml",
                      "csv",
                      "xml"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The document, as text/plain, or JSON {\"text\": \"...\", \"from\": \"yaml\", \"to\": \"json\"}. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "output": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Convert between data formats",
        "tags": [
          "Data format tools"
        ]
      }
    },
    "/v1/cron": {
      "get": {
        "description": "The expression in words and its next run times.",
        "operationId": "cron",
        "parameters": [
          {
            "description": "Five fields, or @daily, @hourly, @weekly, @monthly, @yearly.",
            "in": "query",
            "name": "expr",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Time zone the schedule runs in. Default Asia/Kolkata.",
            "in": "query",
            "name": "tz",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Next runs, 1 to 50. Default 5.",
            "in": "query",
            "name": "count",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Start from this time instead of now.",
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Explain a cron expression",
        "tags": [
          "Developer utilities"
        ]
      }
    },
    "/v1/dates/diff": {
      "get": {
        "description": "Whole years, months and days from one date to another, the total days and weeks, and the next anniversary (a birthday, say).",
        "operationId": "dates_diff",
        "parameters": [
          {
            "description": "Start date, YYYY-MM-DD (a date of birth for an age).",
            "in": "query",
            "name": "from",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "End date, YYYY-MM-DD. Default today in India.",
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Age and the span between dates",
        "tags": [
          "Indian date tools"
        ]
      }
    },
    "/v1/dates/{date}": {
      "get": {
        "description": "",
        "operationId": "dates_by_date",
        "parameters": [
          {
            "description": "YYYY-MM-DD, or today.",
            "in": "path",
            "name": "date",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "date": {
                              "type": "string"
                            },
                            "dayOfYear": {
                              "type": "integer"
                            },
                            "financialYear": {
                              "properties": {
                                "assessmentYear": {
                                  "type": "string"
                                },
                                "dayOfYear": {
                                  "type": "integer"
                                },
                                "daysLeft": {
                                  "type": "integer"
                                },
                                "ends": {
                                  "type": "string"
                                },
                                "half": {
                                  "type": "string"
                                },
                                "quarter": {
                                  "type": "string"
                                },
                                "quarterEnds": {
                                  "type": "string"
                                },
                                "quarterStarts": {
                                  "type": "string"
                                },
                                "starts": {
                                  "type": "string"
                                },
                                "year": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "fromToday": {
                              "properties": {
                                "days": {
                                  "type": "integer"
                                },
                                "from": {
                                  "type": "string"
                                },
                                "months": {
                                  "type": "integer"
                                },
                                "negative": {
                                  "type": "boolean"
                                },
                                "text": {
                                  "type": "string"
                                },
                                "to": {
                                  "type": "string"
                                },
                                "totalDays": {
                                  "type": "integer"
                                },
                                "weekDays": {
                                  "type": "integer"
                                },
                                "weeks": {
                                  "type": "integer"
                                },
                                "years": {
                                  "type": "integer"
                                }
                              },
                              "type": "object"
                            },
                            "hijri": {
                              "properties": {
                                "day": {
                                  "type": "integer"
                                },
                                "month": {
                                  "type": "integer"
                                },
                                "monthName": {
                                  "type": "string"
                                },
                                "text": {
                                  "type": "string"
                                },
                                "year": {
                                  "type": "integer"
                                }
                              },
                              "type": "object"
                            },
                            "isoWeek": {
                              "type": "string"
                            },
                            "leapYear": {
                              "type": "boolean"
                            },
                            "saka": {
                              "properties": {
                                "day": {
                                  "type": "integer"
                                },
                                "month": {
                                  "type": "integer"
                                },
                                "monthName": {
                                  "type": "string"
                                },
                                "text": {
                                  "type": "string"
                                },
                                "year": {
                                  "type": "integer"
                                }
                              },
                              "type": "object"
                            },
                            "tamil": {
                              "properties": {
                                "day": {
                                  "type": "integer"
                                },
                                "month": {
                                  "type": "string"
                                },
                                "tamil": {
                                  "type": "string"
                                },
                                "year": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "unix": {
                              "type": "integer"
                            },
                            "vikramSamvat": {
                              "type": "integer"
                            },
                            "weekday": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "One date in Indian calendars",
        "tags": [
          "Indian date tools"
        ]
      }
    },
    "/v1/db": {
      "post": {
        "description": "Answers with its query address and secret (shown once). Needs a free API key once keys are required (see /keys). Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "db",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {},
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "Nothing, or {} .",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "created": {
                              "type": "string"
                            },
                            "expires": {
                              "type": "string"
                            },
                            "id": {
                              "type": "string"
                            },
                            "query": {
                              "type": "string"
                            },
                            "secret": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Make a database",
        "tags": [
          "Throwaway databases"
        ],
        "x-key-required": true
      }
    },
    "/v1/db/{id}/delete": {
      "post": {
        "description": "Deletes the database at once. Send the secret as an X-Secret header.",
        "operationId": "db_by_id_delete",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {},
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "Nothing, or {} .",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "deleted": {
                              "type": "boolean"
                            },
                            "id": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Delete a database",
        "tags": [
          "Throwaway databases"
        ]
      }
    },
    "/v1/db/{id}/query": {
      "post": {
        "description": "SQLite SQL, with ? parameters. Answers columns, rows (up to 1,000) and the rows changed. ATTACH, VACUUM and most PRAGMAs are refused. Send the secret as an X-Secret header.",
        "operationId": "db_by_id_query",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "sql": "SELECT code, name FROM states WHERE name LIKE ? ORDER BY name",
                "params": [
                  "T%"
                ]
              },
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "The SQL as text, or JSON {\"sql\": \"...\", \"params\": [...]}.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "changes": {
                              "type": "integer"
                            },
                            "columns": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "ms": {
                              "type": "integer"
                            },
                            "rows": {
                              "items": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Run SQL",
        "tags": [
          "Throwaway databases"
        ]
      }
    },
    "/v1/diff": {
      "post": {
        "description": "Text: a unified patch and counts of added and removed lines. JSON: a list of JSON Patch (RFC 6902) changes with the old values.",
        "operationId": "diff",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "a": "rice\ndal\noil\n",
                "b": "rice\nmoong dal\noil\nsalt\n"
              },
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "JSON: {\"a\": \"...\", \"b\": \"...\", \"mode\": \"text\" or \"json\", \"context\": 3, \"changes\": false}. a and b may be JSON values for mode json.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "added": {
                              "type": "integer"
                            },
                            "patch": {
                              "type": "string"
                            },
                            "removed": {
                              "type": "integer"
                            },
                            "same": {
                              "type": "boolean"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Compare two texts or JSON documents",
        "tags": [
          "Data format tools"
        ]
      }
    },
    "/v1/dns/{name}": {
      "get": {
        "description": "",
        "operationId": "dns_by_name",
        "parameters": [
          {
            "description": "Domain name (Indian-script names are accepted), or an IP address for PTR.",
            "in": "path",
            "name": "name",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Record type. Default A.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "A",
                "AAAA",
                "CNAME",
                "MX",
                "NS",
                "TXT",
                "CAA",
                "SOA",
                "SRV",
                "PTR"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Look up DNS records",
        "tags": [
          "DNS check"
        ]
      }
    },
    "/v1/doc/cheque": {
      "post": {
        "description": "From a photo of a cheque leaf: the IFSC, the MICR line (cheque number and nine-digit MICR code), the account number when printed with a label, and the date; the IFSC and MICR code are looked up in RBI's branch list and checked against each other. Options go in the query string, or as form fields when the file is sent as multipart/form-data. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "doc_cheque",
        "parameters": [
          {
            "description": "PDF: first page. Default 1.",
            "in": "query",
            "name": "first",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "PDF: last page. A PDF's own text is read up to 500 pages, a scan up to 10.",
            "in": "query",
            "name": "last",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "PDF: auto (default) reads the PDF's own text and uses OCR only when there is none; true always uses OCR; false never.",
            "in": "query",
            "name": "ocr",
            "required": false,
            "schema": {
              "enum": [
                "auto",
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "OCR languages, as in /v1/ocr: up to three of eng, hin, tam, tel, kan, mal, ben, guj, pan, ori, mar joined by +. Default eng.",
            "in": "query",
            "name": "lang",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A PDF, or a picture of a page (JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF), up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Read a cheque",
        "tags": [
          "Document reading"
        ],
        "x-key-required": true
      }
    },
    "/v1/doc/einvoice-qr": {
      "post": {
        "description": "Finds the signed QR code that the Invoice Registration Portal puts on an e-invoice, in a picture or the first three pages of a PDF, and returns what it holds: IRN and its date, seller and buyer GSTINs, document number, type and date, total value, item count and main HSN code, with the GSTINs and the IRN's format checked. The signature is not verified here; the e-invoice portal's \"Verify signed QR code\" does that. The sample is shaped like one but not signed. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "doc_einvoice-qr",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A PDF, or a picture of a page (JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF), up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "buyer_gstin": {
                                "type": "string"
                              },
                              "checks": {
                                "items": {
                                  "properties": {
                                    "detail": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "passed": {
                                      "type": "boolean"
                                    }
                                  },
                                  "type": "object"
                                },
                                "type": "array"
                              },
                              "document_date": {
                                "type": "string"
                              },
                              "document_number": {
                                "type": "string"
                              },
                              "document_type": {
                                "type": "string"
                              },
                              "irn": {
                                "type": "string"
                              },
                              "irn_date": {
                                "type": "string"
                              },
                              "issuer": {
                                "type": "string"
                              },
                              "item_count": {
                                "type": "integer"
                              },
                              "main_hsn": {
                                "type": "string"
                              },
                              "seller_gstin": {
                                "type": "string"
                              },
                              "signature": {
                                "properties": {
                                  "algorithm": {
                                    "type": "string"
                                  },
                                  "key_id": {
                                    "type": "string"
                                  },
                                  "verified": {
                                    "type": "boolean"
                                  }
                                },
                                "type": "object"
                              },
                              "total_value": {
                                "type": "integer"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Read a GST e-invoice's signed QR code",
        "tags": [
          "Document reading"
        ],
        "x-key-required": true
      }
    },
    "/v1/doc/invoice": {
      "post": {
        "description": "Reads the invoice number and date, seller and buyer with their GSTINs and states, place of supply, HSN codes, taxable value, CGST, SGST or UTGST, IGST, cess, round off, total, amount in words, IFSC and UPI handle. Then checks them: each GSTIN's check character, the taxes adding up to the total, CGST equal to SGST, the kind of tax against the place of supply, the amount in words against the total, and the invoice number's format (Rule 46). A field not found is null. Options go in the query string, or as form fields when the file is sent as multipart/form-data. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "doc_invoice",
        "parameters": [
          {
            "description": "PDF: first page. Default 1.",
            "in": "query",
            "name": "first",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "PDF: last page. A PDF's own text is read up to 500 pages, a scan up to 10.",
            "in": "query",
            "name": "last",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "PDF: auto (default) reads the PDF's own text and uses OCR only when there is none; true always uses OCR; false never.",
            "in": "query",
            "name": "ocr",
            "required": false,
            "schema": {
              "enum": [
                "auto",
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "OCR languages, as in /v1/ocr: up to three of eng, hin, tam, tel, kan, mal, ben, guj, pan, ori, mar joined by +. Default eng.",
            "in": "query",
            "name": "lang",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A PDF, or a picture of a page (JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF), up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Read and check a GST invoice",
        "tags": [
          "Document reading"
        ],
        "x-key-required": true
      }
    },
    "/v1/doc/markdown": {
      "post": {
        "description": "Markdown with headings (from text size), lists, paragraphs and tables, page by page with a rule between pages. Text set in columns side by side is read across. Good input for a language model or a search index; method says whether the PDF's text or OCR was used. Options go in the query string, or as form fields when the file is sent as multipart/form-data. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "doc_markdown",
        "parameters": [
          {
            "description": "PDF: first page. Default 1.",
            "in": "query",
            "name": "first",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "PDF: last page. A PDF's own text is read up to 500 pages, a scan up to 10.",
            "in": "query",
            "name": "last",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "PDF: auto (default) reads the PDF's own text and uses OCR only when there is none; true always uses OCR; false never.",
            "in": "query",
            "name": "ocr",
            "required": false,
            "schema": {
              "enum": [
                "auto",
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "OCR languages, as in /v1/ocr: up to three of eng, hin, tam, tel, kan, mal, ben, guj, pan, ori, mar joined by +. Default eng.",
            "in": "query",
            "name": "lang",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A PDF, or a picture of a page (JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF), up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "PDF or scan to Markdown",
        "tags": [
          "Document reading"
        ],
        "x-key-required": true
      }
    },
    "/v1/doc/mask-aadhaar": {
      "post": {
        "description": "Returns the picture with the first eight digits of every Aadhaar number (and the first twelve of a 16-digit Virtual ID) covered in black, leaving the last four, as the UIDAI's masked Aadhaar does, and the QR code covered too, since it holds the full number. A number is four-digit groups that pass the Verhoeff check. Answers 422 when nothing is found, so an unmasked picture is never returned as if masked. X-Masked-Numbers and X-Masked-QR-Codes say what was covered. Check the result by eye before you share it. Options go in the query string, or as form fields when the file is sent as multipart/form-data. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "doc_mask-aadhaar",
        "parameters": [
          {
            "description": "true covers every digit. Default false (the last four stay).",
            "in": "query",
            "name": "all",
            "required": false,
            "schema": {
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "false leaves QR codes uncovered. Default true.",
            "in": "query",
            "name": "qr",
            "required": false,
            "schema": {
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A picture: JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "image/avif": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/gif": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/jpeg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/tiff": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/webp": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Mask an Aadhaar number in a picture",
        "tags": [
          "Document reading"
        ],
        "x-key-required": true
      }
    },
    "/v1/doc/receipt": {
      "post": {
        "description": "From a photo or PDF of a bill: the merchant (its first line), GSTIN, date, the lines that end in an amount, tax and total, the way it was paid when the bill says, and a check that the lines add up to the total. Options go in the query string, or as form fields when the file is sent as multipart/form-data. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "doc_receipt",
        "parameters": [
          {
            "description": "PDF: first page. Default 1.",
            "in": "query",
            "name": "first",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "PDF: last page. A PDF's own text is read up to 500 pages, a scan up to 10.",
            "in": "query",
            "name": "last",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "PDF: auto (default) reads the PDF's own text and uses OCR only when there is none; true always uses OCR; false never.",
            "in": "query",
            "name": "ocr",
            "required": false,
            "schema": {
              "enum": [
                "auto",
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "OCR languages, as in /v1/ocr: up to three of eng, hin, tam, tel, kan, mal, ben, guj, pan, ori, mar joined by +. Default eng.",
            "in": "query",
            "name": "lang",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A PDF, or a picture of a page (JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF), up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Read a shop receipt",
        "tags": [
          "Document reading"
        ],
        "x-key-required": true
      }
    },
    "/v1/doc/redact": {
      "post": {
        "description": "Finds the identifiers that /v1/text/redact finds (Aadhaar, PAN, GSTIN, phone numbers, email addresses, card and account numbers, UPI handles and more) in a PDF or picture and returns it with each covered in black. A PDF comes back as pictures of its pages, so no text survives under a box. X-Redacted counts what was covered by type; 422 when nothing was found. Names are not found; check the result before you share it. Options go in the query string, or as form fields when the file is sent as multipart/form-data. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "doc_redact",
        "parameters": [
          {
            "description": "Which kinds to cover, comma-separated, as in /v1/text/redact. Default all.",
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "PDF: first page. Default 1.",
            "in": "query",
            "name": "first",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "PDF: last page. A PDF's own text is read up to 500 pages, a scan up to 10.",
            "in": "query",
            "name": "last",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "PDF: auto (default) reads the PDF's own text and uses OCR only when there is none; true always uses OCR; false never.",
            "in": "query",
            "name": "ocr",
            "required": false,
            "schema": {
              "enum": [
                "auto",
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "OCR languages, as in /v1/ocr: up to three of eng, hin, tam, tel, kan, mal, ben, guj, pan, ori, mar joined by +. Default eng.",
            "in": "query",
            "name": "lang",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A PDF, or a picture of a page (JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF), up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/pdf": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Redact a PDF or picture",
        "tags": [
          "Document reading"
        ],
        "x-key-required": true
      }
    },
    "/v1/doc/statement": {
      "post": {
        "description": "Every transaction of a bank statement: date, description (lines that run on are joined), reference, debit, credit and balance, with each balance checked against the one before. Columns are found by the header row, so most banks' text PDFs work; a scan is read with OCR. format=csv returns a CSV file. Options go in the query string, or as form fields when the file is sent as multipart/form-data. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "doc_statement",
        "parameters": [
          {
            "description": "json (default) or csv.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "json",
                "csv"
              ],
              "type": "string"
            }
          },
          {
            "description": "PDF: first page. Default 1.",
            "in": "query",
            "name": "first",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "PDF: last page. A PDF's own text is read up to 500 pages, a scan up to 10.",
            "in": "query",
            "name": "last",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "PDF: auto (default) reads the PDF's own text and uses OCR only when there is none; true always uses OCR; false never.",
            "in": "query",
            "name": "ocr",
            "required": false,
            "schema": {
              "enum": [
                "auto",
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "OCR languages, as in /v1/ocr: up to three of eng, hin, tam, tel, kan, mal, ben, guj, pan, ori, mar joined by +. Default eng.",
            "in": "query",
            "name": "lang",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A PDF, or a picture of a page (JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF), up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Bank statement to transactions",
        "tags": [
          "Document reading"
        ],
        "x-key-required": true
      }
    },
    "/v1/doc/tables": {
      "post": {
        "description": "Every table found, as rows of cells with its page. A table is three or more rows whose words line up in two or more columns, with or without ruled lines. format=csv returns one table (table=N) as CSV. Options go in the query string, or as form fields when the file is sent as multipart/form-data. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "doc_tables",
        "parameters": [
          {
            "description": "json (default); markdown adds each table as Markdown; csv returns one table as a CSV file.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "json",
                "markdown",
                "csv"
              ],
              "type": "string"
            }
          },
          {
            "description": "With format=csv: which table, from 1. Default 1.",
            "in": "query",
            "name": "table",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "PDF: first page. Default 1.",
            "in": "query",
            "name": "first",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "PDF: last page. A PDF's own text is read up to 500 pages, a scan up to 10.",
            "in": "query",
            "name": "last",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "PDF: auto (default) reads the PDF's own text and uses OCR only when there is none; true always uses OCR; false never.",
            "in": "query",
            "name": "ocr",
            "required": false,
            "schema": {
              "enum": [
                "auto",
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "OCR languages, as in /v1/ocr: up to three of eng, hin, tam, tel, kan, mal, ben, guj, pan, ori, mar joined by +. Default eng.",
            "in": "query",
            "name": "lang",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A PDF, or a picture of a page (JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF), up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Tables in a PDF or scan",
        "tags": [
          "Document reading"
        ],
        "x-key-required": true
      }
    },
    "/v1/email/{address}": {
      "get": {
        "description": "",
        "operationId": "email_by_address",
        "parameters": [
          {
            "description": "The email address.",
            "in": "path",
            "name": "address",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Check an email address",
        "tags": [
          "Email checks"
        ]
      }
    },
    "/v1/embed": {
      "get": {
        "description": "Up to 64 texts a request (GET: one or more text parameters; POST: JSON {\"texts\": [...], \"type\": ...}). Each comes back as 384 numbers scaled to length 1, so a dot product is the cosine similarity. Embed questions with type=query and the documents searched with type=passage, as the model was trained. Each text is read up to 512 tokens. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "embed",
        "parameters": [
          {
            "description": "A text; repeat for several (or POST them).",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "query (default) for questions, passage for the documents searched.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "query",
                "passage"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Text embeddings",
        "tags": [
          "Embeddings and reranking"
        ],
        "x-key-required": true
      },
      "post": {
        "description": "Up to 64 texts a request (GET: one or more text parameters; POST: JSON {\"texts\": [...], \"type\": ...}). Each comes back as 384 numbers scaled to length 1, so a dot product is the cosine similarity. Embed questions with type=query and the documents searched with type=passage, as the model was trained. Each text is read up to 512 tokens. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "embed_post",
        "parameters": [
          {
            "description": "query (default) for questions, passage for the documents searched.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "query",
                "passage"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "text": {
                    "description": "JSON: {\"texts\": [\"...\"], \"type\": \"query\" or \"passage\"}, or {\"text\": \"...\"}.",
                    "type": "string"
                  },
                  "type": {
                    "description": "query (default) for questions, passage for the documents searched.",
                    "enum": [
                      "query",
                      "passage"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "JSON: {\"texts\": [\"...\"], \"type\": \"query\" or \"passage\"}, or {\"text\": \"...\"}. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Text embeddings",
        "tags": [
          "Embeddings and reranking"
        ],
        "x-key-required": true
      }
    },
    "/v1/expiries": {
      "get": {
        "description": "",
        "operationId": "expiries",
        "parameters": [
          {
            "description": "Default nse.",
            "in": "query",
            "name": "exchange",
            "required": false,
            "schema": {
              "enum": [
                "nse",
                "bse"
              ],
              "type": "string"
            }
          },
          {
            "description": "From 2025. Default this year.",
            "in": "query",
            "name": "year",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "1 to 12.",
            "in": "query",
            "name": "month",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "false lists only the monthly expiries.",
            "in": "query",
            "name": "weekly",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "contracts": {
                                "type": "string"
                              },
                              "date": {
                                "type": "string"
                              },
                              "kind": {
                                "type": "string"
                              },
                              "moved": {
                                "type": "string"
                              },
                              "weekday": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Expiry dates",
        "tags": [
          "Derivative expiries"
        ]
      }
    },
    "/v1/fake/{kind}": {
      "get": {
        "description": "people have a name, gender, birth date, email (on example domains), phone, PAN and address; companies a name, PAN, GSTIN, email, phone and address.",
        "operationId": "fake_by_kind",
        "parameters": [
          {
            "description": "What to generate.",
            "in": "path",
            "name": "kind",
            "required": true,
            "schema": {
              "enum": [
                "people",
                "companies",
                "addresses"
              ],
              "type": "string"
            }
          },
          {
            "description": "How many, 1 to 100. Default 10.",
            "in": "query",
            "name": "count",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "State code or name, for example TN or Tamil Nadu.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The same seed gives the same records. Without one, each request differs.",
            "in": "query",
            "name": "seed",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "address": {
                                "properties": {
                                  "city": {
                                    "type": "string"
                                  },
                                  "district": {
                                    "type": "string"
                                  },
                                  "line1": {
                                    "type": "string"
                                  },
                                  "line2": {
                                    "type": "string"
                                  },
                                  "pincode": {
                                    "type": "string"
                                  },
                                  "state": {
                                    "type": "string"
                                  },
                                  "stateCode": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "birthDate": {
                                "type": "string"
                              },
                              "email": {
                                "type": "string"
                              },
                              "fake": {
                                "type": "boolean"
                              },
                              "firstName": {
                                "type": "string"
                              },
                              "gender": {
                                "type": "string"
                              },
                              "lastName": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "pan": {
                                "type": "string"
                              },
                              "phone": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Generate fake records",
        "tags": [
          "Fake test data"
        ]
      }
    },
    "/v1/festivals/{year}": {
      "get": {
        "description": "",
        "operationId": "festivals_by_year",
        "parameters": [
          {
            "description": "1950 to 2100.",
            "in": "path",
            "name": "year",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Only one kind.",
            "in": "query",
            "name": "kind",
            "required": false,
            "schema": {
              "enum": [
                "hindu",
                "tamil",
                "sikh",
                "jain",
                "buddhist",
                "islamic",
                "christian",
                "national"
              ],
              "type": "string"
            }
          },
          {
            "description": "Leave out regional festivals not kept in this state.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "1 to 12.",
            "in": "query",
            "name": "month",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "date": {
                                "type": "string"
                              },
                              "kind": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "rule": {
                                "type": "string"
                              },
                              "tamil": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Festivals in a year",
        "tags": [
          "Festivals"
        ]
      }
    },
    "/v1/festivals/{year}.ics": {
      "get": {
        "description": "",
        "operationId": "festivals_by_year.ics",
        "parameters": [
          {
            "description": "The year, followed by .ics.",
            "in": "path",
            "name": "year",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Only one kind.",
            "in": "query",
            "name": "kind",
            "required": false,
            "schema": {
              "enum": [
                "hindu",
                "tamil",
                "sikh",
                "jain",
                "buddhist",
                "islamic",
                "christian",
                "national"
              ],
              "type": "string"
            }
          },
          {
            "description": "State code or name, for example TN or Tamil Nadu.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/calendar": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Festivals as a calendar to subscribe to",
        "tags": [
          "Festivals"
        ]
      }
    },
    "/v1/format/number/{number}": {
      "get": {
        "description": "",
        "operationId": "format_number_by_number",
        "parameters": [
          {
            "description": "The number: digits, a point, optional commas or a minus sign. Indian-script digits are read too.",
            "in": "path",
            "name": "number",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Round to this many decimals, 0 to 10.",
            "in": "query",
            "name": "decimals",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "indian": {
                              "type": "string"
                            },
                            "input": {
                              "type": "string"
                            },
                            "international": {
                              "type": "string"
                            },
                            "rupees": {
                              "type": "string"
                            },
                            "scripts": {
                              "properties": {
                                "beng": {
                                  "type": "string"
                                },
                                "deva": {
                                  "type": "string"
                                },
                                "gujr": {
                                  "type": "string"
                                },
                                "guru": {
                                  "type": "string"
                                },
                                "knda": {
                                  "type": "string"
                                },
                                "mlym": {
                                  "type": "string"
                                },
                                "orya": {
                                  "type": "string"
                                },
                                "taml": {
                                  "type": "string"
                                },
                                "telu": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "short": {
                              "properties": {
                                "long": {
                                  "type": "string"
                                },
                                "short": {
                                  "type": "string"
                                },
                                "unit": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "value": {
                              "type": "number"
                            },
                            "words": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Format a number the Indian way",
        "tags": [
          "Indian number formatting"
        ]
      }
    },
    "/v1/fx": {
      "get": {
        "description": "",
        "operationId": "fx",
        "parameters": [
          {
            "description": "One currency. Default all.",
            "in": "query",
            "name": "currency",
            "required": false,
            "schema": {
              "enum": [
                "USD",
                "GBP",
                "EUR",
                "JPY",
                "AED",
                "IDR",
                "RUB"
              ],
              "type": "string"
            }
          },
          {
            "description": "History for this many days, 1 to 3650, instead of the latest.",
            "in": "query",
            "name": "days",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Reference exchange rates",
        "tags": [
          "RBI rates and exchange rates"
        ]
      }
    },
    "/v1/hash": {
      "get": {
        "description": "MD5, SHA-1, SHA-2, SHA-3, BLAKE2b and CRC-32 of a text, in hex and base64; with key, HMACs.",
        "operationId": "hash",
        "parameters": [
          {
            "description": "The text.",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Comma-separated: md5, sha1, sha256, sha384, sha512, sha3-256, sha3-512, blake2b-256, crc32. Default md5,sha1,sha256,sha512.",
            "in": "query",
            "name": "algo",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "For an HMAC. Send it in a POST body.",
            "in": "query",
            "name": "key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "md5": {
                              "properties": {
                                "base64": {
                                  "type": "string"
                                },
                                "hex": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "sha256": {
                              "properties": {
                                "base64": {
                                  "type": "string"
                                },
                                "hex": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Hashes and HMACs",
        "tags": [
          "Developer utilities"
        ]
      },
      "post": {
        "description": "MD5, SHA-1, SHA-2, SHA-3, BLAKE2b and CRC-32 of a text, in hex and base64; with key, HMACs.",
        "operationId": "hash_post",
        "parameters": [
          {
            "description": "Comma-separated: md5, sha1, sha256, sha384, sha512, sha3-256, sha3-512, blake2b-256, crc32. Default md5,sha1,sha256,sha512.",
            "in": "query",
            "name": "algo",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "For an HMAC. Send it in a POST body.",
            "in": "query",
            "name": "key",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "algo": {
                    "description": "Comma-separated: md5, sha1, sha256, sha384, sha512, sha3-256, sha3-512, blake2b-256, crc32. Default md5,sha1,sha256,sha512.",
                    "type": "string"
                  },
                  "key": {
                    "description": "For an HMAC. Send it in a POST body.",
                    "type": "string"
                  },
                  "text": {
                    "description": "The text, as text/plain, or JSON {\"text\": \"...\", \"algo\": \"sha256\", \"key\": \"...\"}.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text, as text/plain, or JSON {\"text\": \"...\", \"algo\": \"sha256\", \"key\": \"...\"}. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "md5": {
                              "properties": {
                                "base64": {
                                  "type": "string"
                                },
                                "hex": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "sha256": {
                              "properties": {
                                "base64": {
                                  "type": "string"
                                },
                                "hex": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Hashes and HMACs",
        "tags": [
          "Developer utilities"
        ]
      }
    },
    "/v1/helplines": {
      "get": {
        "description": "",
        "operationId": "helplines",
        "parameters": [
          {
            "description": "Search the names and purposes.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "for": {
                                "type": "string"
                              },
                              "hours": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "number": {
                                "type": "string"
                              },
                              "runBy": {
                                "type": "string"
                              },
                              "tollFree": {
                                "type": "boolean"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "National helplines",
        "tags": [
          "Helplines"
        ]
      }
    },
    "/v1/holidays/{year}": {
      "get": {
        "description": "",
        "operationId": "holidays_by_year",
        "parameters": [
          {
            "description": "Four-digit year.",
            "in": "path",
            "name": "year",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Kind of holiday. clearing days are ones on which the market trades but nothing settles.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "bank",
                "central_gazetted",
                "central_restricted",
                "market",
                "clearing"
              ],
              "type": "string"
            }
          },
          {
            "description": "State code or name, for example TN or Tamil Nadu.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Month number, 1 to 12.",
            "in": "query",
            "name": "month",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "date": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "region": {
                                "type": "string"
                              },
                              "states": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "type": {
                                "type": "string"
                              },
                              "weekday": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Holidays in a year",
        "tags": [
          "Holidays"
        ]
      }
    },
    "/v1/holidays/{year}.ics": {
      "get": {
        "description": "The same list as an iCalendar feed (RFC 5545): one all-day event per holiday. Add the address to Google Calendar (Other calendars, From URL), Outlook or a phone, and holidays added later appear by themselves. The same filters as the JSON list.",
        "operationId": "holidays_by_year.ics",
        "parameters": [
          {
            "description": "Four-digit year, followed by .ics.",
            "in": "path",
            "name": "year",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Kind of holiday.",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "bank",
                "central_gazetted",
                "central_restricted",
                "market",
                "clearing"
              ],
              "type": "string"
            }
          },
          {
            "description": "State code or name, for example TN or Tamil Nadu.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Month number, 1 to 12.",
            "in": "query",
            "name": "month",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/calendar": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Holidays as a calendar to subscribe to",
        "tags": [
          "Holidays"
        ]
      }
    },
    "/v1/hook/{id}": {
      "get": {
        "description": "GET or POST anything: it is recorded.",
        "operationId": "hook_by_id",
        "parameters": [
          {
            "description": "The bin.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Send to a bin",
        "tags": [
          "Request bins"
        ]
      },
      "post": {
        "description": "GET or POST anything: it is recorded.",
        "operationId": "hook_by_id_post",
        "parameters": [
          {
            "description": "The bin.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "text": {
                    "description": "Anything, up to 64 KB kept.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "Anything, up to 64 KB kept. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Send to a bin",
        "tags": [
          "Request bins"
        ]
      }
    },
    "/v1/hooks": {
      "post": {
        "description": "Answers with the bin's address, the address to read it from and its secret (shown once). Needs a free API key once keys are required (see /keys). Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "hooks",
        "parameters": [
          {
            "description": "The HTTP status the bin answers with. Default 200.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {},
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "Nothing, or {} .",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "created": {
                              "type": "string"
                            },
                            "expires": {
                              "type": "string"
                            },
                            "id": {
                              "type": "string"
                            },
                            "read": {
                              "type": "string"
                            },
                            "requests": {
                              "type": "array"
                            },
                            "secret": {
                              "type": "string"
                            },
                            "url": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Make a request bin",
        "tags": [
          "Request bins"
        ],
        "x-key-required": true
      }
    },
    "/v1/hooks/{id}": {
      "get": {
        "description": "Every request it caught, oldest first. Send the secret as an X-Secret header (or secret=).",
        "operationId": "hooks_by_id",
        "parameters": [
          {
            "description": "The bin.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Its secret; better as X-Secret.",
            "in": "query",
            "name": "secret",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Read a bin",
        "tags": [
          "Request bins"
        ]
      }
    },
    "/v1/hooks/{id}/delete": {
      "post": {
        "description": "Deletes the bin and everything it caught. Send the secret as an X-Secret header.",
        "operationId": "hooks_by_id_delete",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {},
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "Nothing, or {} .",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "deleted": {
                              "type": "boolean"
                            },
                            "id": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Delete a bin",
        "tags": [
          "Request bins"
        ]
      }
    },
    "/v1/hospitals": {
      "get": {
        "description": "One of near, pincode, district or q. near gives the ten nearest within about 50 km, with their distance; the others up to 100, by name.",
        "operationId": "hospitals",
        "parameters": [
          {
            "description": "latitude,longitude.",
            "in": "query",
            "name": "near",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Six digits.",
            "in": "query",
            "name": "pincode",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "A district, such as Namakkal; add state to narrow it.",
            "in": "query",
            "name": "district",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "With district or q.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Part of a hospital's name, 3 to 80 characters.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only this system of medicine: Allopathic, Ayurveda, Homeopathy, Siddha, Unani.",
            "in": "query",
            "name": "system",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Hospitals near a point, by PIN code, district or name",
        "tags": [
          "Hospitals"
        ]
      }
    },
    "/v1/hsn": {
      "get": {
        "description": "Every word of q must appear in the description; digits search by code prefix. Broader codes come first.",
        "operationId": "hsn",
        "parameters": [
          {
            "description": "Words of the description, or the start of a code.",
            "in": "query",
            "name": "q",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "hsn for goods, sac for services.",
            "in": "query",
            "name": "kind",
            "required": false,
            "schema": {
              "enum": [
                "hsn",
                "sac"
              ],
              "type": "string"
            }
          },
          {
            "description": "Results per page, 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Results to skip.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "description": {
                                "type": "string"
                              },
                              "kind": {
                                "type": "string"
                              },
                              "level": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Search codes",
        "tags": [
          "HSN and SAC codes"
        ]
      }
    },
    "/v1/hsn/{code}": {
      "get": {
        "description": "",
        "operationId": "hsn_by_code",
        "parameters": [
          {
            "description": "2 to 8 digits; spaces and dots are ignored. SAC codes start with 99.",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "children": {
                              "items": {
                                "properties": {
                                  "code": {
                                    "type": "string"
                                  },
                                  "description": {
                                    "type": "string"
                                  },
                                  "kind": {
                                    "type": "string"
                                  },
                                  "level": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "code": {
                              "type": "string"
                            },
                            "description": {
                              "type": "string"
                            },
                            "kind": {
                              "type": "string"
                            },
                            "level": {
                              "type": "string"
                            },
                            "parents": {
                              "items": {
                                "properties": {
                                  "code": {
                                    "type": "string"
                                  },
                                  "description": {
                                    "type": "string"
                                  },
                                  "kind": {
                                    "type": "string"
                                  },
                                  "level": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "A code, its parents and children",
        "tags": [
          "HSN and SAC codes"
        ]
      }
    },
    "/v1/icon/{domain}": {
      "get": {
        "description": "The X-Icon-Source header names the file the icon was drawn from, the first time it is fetched. An icon already fetched counts as 1 request against the rate limit; one that has to be fetched counts as 20.",
        "operationId": "icon_by_domain",
        "parameters": [
          {
            "description": "Domain name; a .png suffix is allowed.",
            "in": "path",
            "name": "domain",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Width and height in pixels, 16 to 256. Default 64.",
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Icon for a website",
        "tags": [
          "Website icons"
        ]
      }
    },
    "/v1/ifsc": {
      "get": {
        "description": "Lists branches of one bank, filtered by state, city or text in the branch name or address.",
        "operationId": "ifsc",
        "parameters": [
          {
            "description": "Four-letter bank code, for example SBIN.",
            "in": "query",
            "name": "bank",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Text to find in the branch name, address or city.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "State code or name, for example TN or Tamil Nadu.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Exact city name.",
            "in": "query",
            "name": "city",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Results per page, 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Results to skip.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "address": {
                                "type": "string"
                              },
                              "bank": {
                                "properties": {
                                  "code": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "branch": {
                                "type": "string"
                              },
                              "centre": {
                                "type": "string"
                              },
                              "city": {
                                "type": "string"
                              },
                              "contact": {
                                "type": "string"
                              },
                              "district": {
                                "type": "string"
                              },
                              "ifsc": {
                                "type": "string"
                              },
                              "imps": {
                                "type": "boolean"
                              },
                              "micr": {
                                "type": "string"
                              },
                              "neft": {
                                "type": "boolean"
                              },
                              "rtgs": {
                                "type": "boolean"
                              },
                              "state": {
                                "type": "string"
                              },
                              "stateCode": {
                                "type": "string"
                              },
                              "swift": {},
                              "upi": {
                                "type": "boolean"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Search a bank's branches",
        "tags": [
          "IFSC and banks"
        ]
      }
    },
    "/v1/ifsc/{code}": {
      "get": {
        "description": "",
        "operationId": "ifsc_by_code",
        "parameters": [
          {
            "description": "11-character IFSC.",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "address": {
                              "type": "string"
                            },
                            "bank": {
                              "properties": {
                                "code": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "branch": {
                              "type": "string"
                            },
                            "centre": {
                              "type": "string"
                            },
                            "city": {
                              "type": "string"
                            },
                            "contact": {},
                            "district": {
                              "type": "string"
                            },
                            "ifsc": {
                              "type": "string"
                            },
                            "imps": {
                              "type": "boolean"
                            },
                            "micr": {
                              "type": "string"
                            },
                            "neft": {
                              "type": "boolean"
                            },
                            "rtgs": {
                              "type": "boolean"
                            },
                            "state": {
                              "type": "string"
                            },
                            "stateCode": {
                              "type": "string"
                            },
                            "swift": {},
                            "upi": {
                              "type": "boolean"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Branch for an IFSC",
        "tags": [
          "IFSC and banks"
        ]
      }
    },
    "/v1/image/compare": {
      "post": {
        "description": "Send two pictures as form fields. Returns the bits by which each hash differs, a score from 0 to 1, and whether they look like the same picture.",
        "operationId": "image_compare",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "items": {
                      "format": "binary",
                      "type": "string"
                    },
                    "minItems": 2,
                    "type": "array"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "Two pictures, as multipart/form-data, up to 10 MB each.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "distance": {
                              "properties": {
                                "average": {
                                  "type": "integer"
                                },
                                "difference": {
                                  "type": "integer"
                                },
                                "perceptual": {
                                  "type": "integer"
                                }
                              },
                              "type": "object"
                            },
                            "pictures": {
                              "items": {
                                "properties": {
                                  "average": {
                                    "type": "string"
                                  },
                                  "difference": {
                                    "type": "string"
                                  },
                                  "height": {
                                    "type": "integer"
                                  },
                                  "perceptual": {
                                    "type": "string"
                                  },
                                  "width": {
                                    "type": "integer"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "score": {
                              "type": "integer"
                            },
                            "similar": {
                              "type": "boolean"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Compare two pictures",
        "tags": [
          "Image tools"
        ]
      }
    },
    "/v1/image/convert": {
      "post": {
        "description": "Returns the picture itself, turned upright from its EXIF orientation, without metadata. fit=inside keeps the whole picture within width and height and never enlarges it; cover fills the box and crops the middle; fill stretches. Options go in the query string, or as form fields when the file is sent as multipart/form-data.",
        "operationId": "image_convert",
        "parameters": [
          {
            "description": "Output format. Default webp.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "jpeg",
                "png",
                "webp",
                "avif",
                "gif",
                "tiff"
              ],
              "type": "string"
            }
          },
          {
            "description": "Width in pixels, 1 to 8000.",
            "in": "query",
            "name": "width",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Height in pixels, 1 to 8000.",
            "in": "query",
            "name": "height",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "How the picture fits width and height. Default inside.",
            "in": "query",
            "name": "fit",
            "required": false,
            "schema": {
              "enum": [
                "inside",
                "cover",
                "fill"
              ],
              "type": "string"
            }
          },
          {
            "description": "JPEG, WebP and AVIF quality, 1 to 100. Default 80.",
            "in": "query",
            "name": "quality",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A picture: JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "image/avif": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/gif": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/jpeg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/tiff": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/webp": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Resize and convert a picture",
        "tags": [
          "Image tools"
        ]
      }
    },
    "/v1/image/hash": {
      "post": {
        "description": "Three 64-bit fingerprints (average, difference and DCT-based perceptual hashes) that stay nearly the same when a picture is resized, recompressed or slightly edited. Pictures whose perceptual hashes differ by 10 bits or fewer look alike.",
        "operationId": "image_hash",
        "parameters": [],
        "requestBody": {
          "content": {
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A picture: JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "average": {
                              "type": "string"
                            },
                            "difference": {
                              "type": "string"
                            },
                            "height": {
                              "type": "integer"
                            },
                            "perceptual": {
                              "type": "string"
                            },
                            "width": {
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Perceptual hash of a picture",
        "tags": [
          "Image tools"
        ]
      }
    },
    "/v1/image/icons": {
      "post": {
        "description": "One picture in, a ZIP out: favicon.ico (16, 32 and 48 px), a 32 px PNG, the Apple touch icon, 192 and 512 px app icons, a web manifest and the HTML lines for the page head. A square picture works best. Options go in the query string, or as form fields when the file is sent as multipart/form-data.",
        "operationId": "image_icons",
        "parameters": [
          {
            "description": "The app's name, for the manifest.",
            "in": "query",
            "name": "name",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Theme colour, hex. Default ffffff.",
            "in": "query",
            "name": "theme",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A picture: JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/zip": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Favicon and app icon pack",
        "tags": [
          "Image tools"
        ]
      }
    },
    "/v1/image/info": {
      "post": {
        "description": "Format, size, colour space, pages, orientation, the camera, and whether the picture carries EXIF data or a GPS position.",
        "operationId": "image_info",
        "parameters": [],
        "requestBody": {
          "content": {
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A picture: JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Size, format and metadata of a picture",
        "tags": [
          "Image tools"
        ]
      }
    },
    "/v1/image/remove-background": {
      "post": {
        "description": "Returns the picture as a PNG with the background transparent, cut out by the IS-Net model. Works best on one clear subject: a product, a person, an animal. Takes a few seconds; pictures larger than 4096 pixels are made smaller. Options go in the query string, or as form fields when the file is sent as multipart/form-data. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "image_remove-background",
        "parameters": [
          {
            "description": "png (default), webp, or mask: the cut-out mask alone, white where the subject is.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "png",
                "webp",
                "mask"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A picture: JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "image/avif": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/gif": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/jpeg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/tiff": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/webp": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Remove the background",
        "tags": [
          "Image tools"
        ],
        "x-key-required": true
      }
    },
    "/v1/image/svg-to-png": {
      "post": {
        "description": "Draws an SVG as PNG with resvg. Scripts are removed, and an SVG that refers to other files is refused (embed pictures as data: addresses). Options go in the query string, or as form fields when the file is sent as multipart/form-data.",
        "operationId": "image_svg-to-png",
        "parameters": [
          {
            "description": "Scale, 1 to 8. Default 1.",
            "in": "query",
            "name": "zoom",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "image/svg+xml": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "An SVG file, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "image/avif": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/gif": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/jpeg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/tiff": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/webp": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "SVG to PNG",
        "tags": [
          "Image tools"
        ]
      }
    },
    "/v1/image/thumbhash": {
      "post": {
        "description": "A ThumbHash (about 25 bytes) of a picture: store it beside the picture and draw a blurred preview while the picture loads. Options go in the query string, or as form fields when the file is sent as multipart/form-data.",
        "operationId": "image_thumbhash",
        "parameters": [],
        "requestBody": {
          "content": {
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A picture: JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "bytes": {
                              "type": "integer"
                            },
                            "height": {
                              "type": "integer"
                            },
                            "thumbhash": {
                              "type": "string"
                            },
                            "width": {
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "ThumbHash placeholder",
        "tags": [
          "Image tools"
        ]
      }
    },
    "/v1/image/watermark": {
      "post": {
        "description": "Writes a text over a picture, in any script, and returns PNG. Options go in the query string, or as form fields when the file is sent as multipart/form-data.",
        "operationId": "image_watermark",
        "parameters": [
          {
            "description": "Up to 80 characters.",
            "in": "query",
            "name": "text",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Default bottom-right.",
            "in": "query",
            "name": "position",
            "required": false,
            "schema": {
              "enum": [
                "bottom-right",
                "bottom-left",
                "center",
                "tile"
              ],
              "type": "string"
            }
          },
          {
            "description": "Above 0 to 1. Default 0.5.",
            "in": "query",
            "name": "opacity",
            "required": false,
            "schema": {
              "type": "number"
            }
          }
        ],
        "requestBody": {
          "content": {
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A picture: JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "image/avif": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/gif": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/jpeg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/tiff": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/webp": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Watermark a picture",
        "tags": [
          "Image tools"
        ]
      }
    },
    "/v1/indic/aksharas": {
      "get": {
        "description": "",
        "operationId": "indic_aksharas",
        "parameters": [
          {
            "description": "The text.",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "aksharas": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "count": {
                              "properties": {
                                "aksharas": {
                                  "type": "integer"
                                },
                                "bytesUTF8": {
                                  "type": "integer"
                                },
                                "codePoints": {
                                  "type": "integer"
                                },
                                "words": {
                                  "type": "integer"
                                }
                              },
                              "type": "object"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Split into letters and count them",
        "tags": [
          "Indic text tools"
        ]
      },
      "post": {
        "description": "",
        "operationId": "indic_aksharas_post",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "text": {
                    "description": "The text, as text/plain or JSON {\"text\": \"...\"}.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text, as text/plain or JSON {\"text\": \"...\"}. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "aksharas": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "count": {
                              "properties": {
                                "aksharas": {
                                  "type": "integer"
                                },
                                "bytesUTF8": {
                                  "type": "integer"
                                },
                                "codePoints": {
                                  "type": "integer"
                                },
                                "words": {
                                  "type": "integer"
                                }
                              },
                              "type": "object"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Split into letters and count them",
        "tags": [
          "Indic text tools"
        ]
      }
    },
    "/v1/indic/normalise": {
      "get": {
        "description": "",
        "operationId": "indic_normalise",
        "parameters": [
          {
            "description": "The text.",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Also remove zero-width characters.",
            "in": "query",
            "name": "strip",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "changed": {
                              "type": "boolean"
                            },
                            "fixes": {
                              "items": {
                                "properties": {
                                  "from": {
                                    "type": "string"
                                  },
                                  "to": {
                                    "type": "string"
                                  },
                                  "why": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "text": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Fix look-alike letters",
        "tags": [
          "Indic text tools"
        ]
      },
      "post": {
        "description": "",
        "operationId": "indic_normalise_post",
        "parameters": [
          {
            "description": "Also remove zero-width characters.",
            "in": "query",
            "name": "strip",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "strip": {
                    "description": "Also remove zero-width characters.",
                    "type": "boolean"
                  },
                  "text": {
                    "description": "The text, as text/plain or JSON {\"text\": \"...\", \"strip\": \"true\"}.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text, as text/plain or JSON {\"text\": \"...\", \"strip\": \"true\"}. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "changed": {
                              "type": "boolean"
                            },
                            "fixes": {
                              "items": {
                                "properties": {
                                  "from": {
                                    "type": "string"
                                  },
                                  "to": {
                                    "type": "string"
                                  },
                                  "why": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "text": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Fix look-alike letters",
        "tags": [
          "Indic text tools"
        ]
      }
    },
    "/v1/indic/sort": {
      "get": {
        "description": "",
        "operationId": "indic_sort",
        "parameters": [
          {
            "description": "Words separated by commas.",
            "in": "query",
            "name": "words",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "hi, ta, bn, te, kn, ml, mr, gu, pa, or or en. Default hi.",
            "in": "query",
            "name": "lang",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "lang": {
                              "type": "string"
                            },
                            "words": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Dictionary order",
        "tags": [
          "Indic text tools"
        ]
      },
      "post": {
        "description": "",
        "operationId": "indic_sort_post",
        "parameters": [
          {
            "description": "Words separated by commas.",
            "in": "query",
            "name": "words",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "hi, ta, bn, te, kn, ml, mr, gu, pa, or or en. Default hi.",
            "in": "query",
            "name": "lang",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "lang": {
                    "description": "hi, ta, bn, te, kn, ml, mr, gu, pa, or or en. Default hi.",
                    "type": "string"
                  },
                  "text": {
                    "description": "JSON {\"words\": [...], \"lang\": \"ta\"}.",
                    "type": "string"
                  },
                  "words": {
                    "description": "Words separated by commas.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "JSON {\"words\": [...], \"lang\": \"ta\"}. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "lang": {
                              "type": "string"
                            },
                            "words": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Dictionary order",
        "tags": [
          "Indic text tools"
        ]
      }
    },
    "/v1/indices": {
      "get": {
        "description": "",
        "operationId": "indices",
        "parameters": [
          {
            "description": "An NSE symbol or ISIN: only the indices it is in.",
            "in": "query",
            "name": "symbol",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "count": {
                                "type": "integer"
                              },
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "List indices, or the indices of a stock",
        "tags": [
          "Index constituents"
        ]
      }
    },
    "/v1/indices/{id}": {
      "get": {
        "description": "",
        "operationId": "indices_by_id",
        "parameters": [
          {
            "description": "Such as nifty-50, nifty-bank, nifty-it, nifty-midcap-150.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only members in this industry, as the list names it.",
            "in": "query",
            "name": "industry",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "count": {
                              "type": "integer"
                            },
                            "id": {
                              "type": "string"
                            },
                            "members": {
                              "items": {
                                "properties": {
                                  "company": {
                                    "type": "string"
                                  },
                                  "industry": {
                                    "type": "string"
                                  },
                                  "isin": {
                                    "type": "string"
                                  },
                                  "logo": {
                                    "type": "string"
                                  },
                                  "series": {
                                    "type": "string"
                                  },
                                  "symbol": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Constituents of an index",
        "tags": [
          "Index constituents"
        ]
      }
    },
    "/v1/invoice": {
      "post": {
        "description": "Fields: number (required, up to 16 letters, digits, - and /), date and due_date (YYYY-MM-DD, date defaults to today), title (default Tax Invoice), place_of_supply (state code, name or GST code; defaults to the buyer's state from the GSTIN or state), reverse_charge, seller and buyer (name, address, gstin, state, phone, email; the seller's GSTIN is required), ship_to, items (description, hsn, quantity (default 1), unit (default Nos), rate before tax, discount as an amount, gst_rate in percent), bank (name, account, ifsc, branch, holder), upi, notes and terms. Unknown fields are refused, so a misspelt field is caught. format=json returns the worked-out invoice instead of a document; format=png the first page as a picture.",
        "operationId": "invoice",
        "parameters": [
          {
            "description": "pdf (default), png (the first page) or json (the amounts only).",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "pdf",
                "png",
                "json"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "number": "INV-2026-0042",
                "date": "2026-10-14",
                "seller": {
                  "name": "Sri Murugan Stores",
                  "address": "12 Car Street, Namakkal 637001",
                  "gstin": "33AABCS1429B1Z1"
                },
                "buyer": {
                  "name": "Kaveri Traders",
                  "address": "4 MG Road, Bengaluru 560001",
                  "gstin": "29AAACK6812C1ZS"
                },
                "items": [
                  {
                    "description": "Basmati rice, 25 kg bag",
                    "hsn": "1006",
                    "quantity": 4,
                    "unit": "Bag",
                    "rate": 2150,
                    "gst_rate": 5
                  },
                  {
                    "description": "Steel tiffin box",
                    "hsn": "7323",
                    "quantity": 10,
                    "rate": 349.5,
                    "discount": 120,
                    "gst_rate": 18
                  }
                ],
                "bank": {
                  "name": "State Bank of India",
                  "account": "12345678901",
                  "ifsc": "SBIN0000001",
                  "holder": "Sri Murugan Stores"
                },
                "upi": "srimurugan@okaxis",
                "terms": "Goods once sold will not be taken back."
              },
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "The invoice as JSON, up to 256 KB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              },
              "application/pdf": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Make a GST tax invoice",
        "tags": [
          "GST invoice"
        ]
      }
    },
    "/v1/ip": {
      "get": {
        "description": "",
        "operationId": "ip",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Location of your own address",
        "tags": [
          "IP address location"
        ]
      }
    },
    "/v1/ip/{address}": {
      "get": {
        "description": "",
        "operationId": "ip_by_address",
        "parameters": [
          {
            "description": "IPv4 or IPv6 address.",
            "in": "path",
            "name": "address",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Location of an IP address",
        "tags": [
          "IP address location"
        ]
      }
    },
    "/v1/ipv6/{domain}": {
      "get": {
        "description": "ready is true when the site (the name, or www when the name has no address) has a public IPv6 address, at least one nameserver does, and every mail server does (a domain without mail servers passes that part). website.network names the network of the first IPv6 address, from DB-IP.",
        "operationId": "ipv6_by_domain",
        "parameters": [
          {
            "description": "Domain name.",
            "in": "path",
            "name": "domain",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Check a domain's IPv6",
        "tags": [
          "IPv6 check"
        ]
      }
    },
    "/v1/jwt/decode": {
      "get": {
        "description": "The header, payload and times of a JSON Web Token. The signature is not checked.",
        "operationId": "jwt_decode",
        "parameters": [
          {
            "description": "The token.",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "header": {
                              "properties": {
                                "alg": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "payload": {
                              "properties": {
                                "iat": {
                                  "type": "integer"
                                },
                                "sub": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "signature": {
                              "type": "string"
                            },
                            "times": {
                              "properties": {
                                "iat": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "warnings": {
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Decode a JWT",
        "tags": [
          "Developer utilities"
        ]
      },
      "post": {
        "description": "The header, payload and times of a JSON Web Token. The signature is not checked.",
        "operationId": "jwt_decode_post",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "text": {
                    "description": "The token, as text/plain or JSON {\"text\": \"...\"}.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The token, as text/plain or JSON {\"text\": \"...\"}. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "header": {
                              "properties": {
                                "alg": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "payload": {
                              "properties": {
                                "iat": {
                                  "type": "integer"
                                },
                                "sub": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "signature": {
                              "type": "string"
                            },
                            "times": {
                              "properties": {
                                "iat": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "warnings": {
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Decode a JWT",
        "tags": [
          "Developer utilities"
        ]
      }
    },
    "/v1/keyboard/convert": {
      "get": {
        "description": "type: what pressing those QWERTY keys gives on the layout (to fix text typed with the wrong keyboard on). keys: the keys to press to type a text.",
        "operationId": "keyboard_convert",
        "parameters": [
          {
            "description": "Keys, or text.",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Default inscript-hindi.",
            "in": "query",
            "name": "layout",
            "required": false,
            "schema": {
              "enum": [
                "inscript-hindi",
                "tamil99"
              ],
              "type": "string"
            }
          },
          {
            "description": "Default type.",
            "in": "query",
            "name": "direction",
            "required": false,
            "schema": {
              "enum": [
                "type",
                "keys"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "keys": {
                              "type": "string"
                            },
                            "layout": {
                              "type": "string"
                            },
                            "text": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "QWERTY keys and Indian layouts",
        "tags": [
          "Indic text tools"
        ]
      },
      "post": {
        "description": "type: what pressing those QWERTY keys gives on the layout (to fix text typed with the wrong keyboard on). keys: the keys to press to type a text.",
        "operationId": "keyboard_convert_post",
        "parameters": [
          {
            "description": "Default inscript-hindi.",
            "in": "query",
            "name": "layout",
            "required": false,
            "schema": {
              "enum": [
                "inscript-hindi",
                "tamil99"
              ],
              "type": "string"
            }
          },
          {
            "description": "Default type.",
            "in": "query",
            "name": "direction",
            "required": false,
            "schema": {
              "enum": [
                "type",
                "keys"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "direction": {
                    "description": "Default type.",
                    "enum": [
                      "type",
                      "keys"
                    ],
                    "type": "string"
                  },
                  "layout": {
                    "description": "Default inscript-hindi.",
                    "enum": [
                      "inscript-hindi",
                      "tamil99"
                    ],
                    "type": "string"
                  },
                  "text": {
                    "description": "The text, as text/plain or JSON {\"text\": \"...\", \"layout\": \"tamil99\", \"direction\": \"type\"}.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text, as text/plain or JSON {\"text\": \"...\", \"layout\": \"tamil99\", \"direction\": \"type\"}. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "keys": {
                              "type": "string"
                            },
                            "layout": {
                              "type": "string"
                            },
                            "text": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "QWERTY keys and Indian layouts",
        "tags": [
          "Indic text tools"
        ]
      }
    },
    "/v1/kv": {
      "post": {
        "description": " Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "kv",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {},
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "Nothing, or {} .",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "address": {
                              "type": "string"
                            },
                            "id": {
                              "type": "string"
                            },
                            "secret": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Make a store",
        "tags": [
          "Agent notes"
        ],
        "x-key-required": true
      }
    },
    "/v1/kv/{id}": {
      "get": {
        "description": "",
        "operationId": "kv_by_id",
        "parameters": [
          {
            "description": "The store.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only names starting with this.",
            "in": "query",
            "name": "prefix",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "bytes": {
                              "type": "integer"
                            },
                            "keys": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "written": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "List notes",
        "tags": [
          "Agent notes"
        ]
      }
    },
    "/v1/kv/{id}/{key}": {
      "get": {
        "description": "GET reads the note; POST writes the body as the note.",
        "operationId": "kv_by_id_by_key",
        "parameters": [
          {
            "description": "The store.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The note's name, up to 200 characters.",
            "in": "path",
            "name": "key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "key": {
                              "type": "string"
                            },
                            "value": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Read or write a note",
        "tags": [
          "Agent notes"
        ]
      },
      "post": {
        "description": "GET reads the note; POST writes the body as the note.",
        "operationId": "kv_by_id_by_key_post",
        "parameters": [
          {
            "description": "The store.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The note's name, up to 200 characters.",
            "in": "path",
            "name": "key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "text": {
                    "description": "The note: text or JSON, up to 16 KB.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The note: text or JSON, up to 16 KB. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "key": {
                              "type": "string"
                            },
                            "value": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Read or write a note",
        "tags": [
          "Agent notes"
        ]
      }
    },
    "/v1/kv/{id}/{key}/delete": {
      "post": {
        "description": "",
        "operationId": "kv_by_id_by_key_delete",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {},
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "Nothing, or {} .",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "deleted": {
                              "type": "boolean"
                            },
                            "key": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Delete a note",
        "tags": [
          "Agent notes"
        ]
      }
    },
    "/v1/law/{law}": {
      "get": {
        "description": "The new law's sections whose titles contain the words (an old law's name searches its replacement), at most 50.",
        "operationId": "law_by_law",
        "parameters": [
          {
            "description": "Which law.",
            "in": "path",
            "name": "law",
            "required": true,
            "schema": {
              "enum": [
                "bns",
                "bnss",
                "bsa",
                "ipc",
                "crpc",
                "iea"
              ],
              "type": "string"
            }
          },
          {
            "description": "3 to 100 characters, such as cheating or bail.",
            "in": "query",
            "name": "q",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "law": {
                                "type": "string"
                              },
                              "new_provision": {
                                "type": "boolean"
                              },
                              "old_law": {
                                "type": "string"
                              },
                              "old_reference": {
                                "type": "string"
                              },
                              "old_section": {
                                "type": "string"
                              },
                              "reference": {
                                "type": "string"
                              },
                              "section": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Search section titles",
        "tags": [
          "IPC to BNS section finder"
        ]
      }
    },
    "/v1/law/{law}/{section}": {
      "get": {
        "description": "With a new law (bns, bnss, bsa), the section (all its subsections for 103; one for 103(1)) and the old section it stands for. With an old law (ipc, crpc, iea), every new section the old one went to. new_provision marks a section with no counterpart.",
        "operationId": "law_by_law_by_section",
        "parameters": [
          {
            "description": "Which law the section number belongs to.",
            "in": "path",
            "name": "law",
            "required": true,
            "schema": {
              "enum": [
                "bns",
                "bnss",
                "bsa",
                "ipc",
                "crpc",
                "iea"
              ],
              "type": "string"
            }
          },
          {
            "description": "Such as 302, 498A, 103(1).",
            "in": "path",
            "name": "section",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "law": {
                                "type": "string"
                              },
                              "new_provision": {
                                "type": "boolean"
                              },
                              "old_law": {
                                "type": "string"
                              },
                              "old_reference": {
                                "type": "string"
                              },
                              "old_section": {
                                "type": "string"
                              },
                              "reference": {
                                "type": "string"
                              },
                              "section": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "A section and its counterpart",
        "tags": [
          "IPC to BNS section finder"
        ]
      }
    },
    "/v1/lgd/districts": {
      "get": {
        "description": "",
        "operationId": "lgd_districts",
        "parameters": [
          {
            "description": "The state's LGD code, such as 33 for Tamil Nadu.",
            "in": "query",
            "name": "state",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Districts of a state",
        "tags": [
          "Villages and LGD codes"
        ]
      }
    },
    "/v1/lgd/states": {
      "get": {
        "description": "",
        "operationId": "lgd_states",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "States with their LGD codes",
        "tags": [
          "Villages and LGD codes"
        ]
      }
    },
    "/v1/lgd/subdistricts": {
      "get": {
        "description": "",
        "operationId": "lgd_subdistricts",
        "parameters": [
          {
            "description": "The district's LGD code.",
            "in": "query",
            "name": "district",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Sub-districts (taluks, tehsils, mandals) of a district",
        "tags": [
          "Villages and LGD codes"
        ]
      }
    },
    "/v1/lgd/villages": {
      "get": {
        "description": "One of subdistrict, pincode or q. Each village with its sub-district, district and state.",
        "operationId": "lgd_villages",
        "parameters": [
          {
            "description": "A sub-district's LGD code: all its villages.",
            "in": "query",
            "name": "subdistrict",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Six digits: the villages LGD lists under it.",
            "in": "query",
            "name": "pincode",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The start of a village's name, 3 to 80 characters; at most 100 answers.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "With q: only this state (LGD code).",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Villages by sub-district, PIN code or name",
        "tags": [
          "Villages and LGD codes"
        ]
      }
    },
    "/v1/lgd/villages/{code}": {
      "get": {
        "description": "",
        "operationId": "lgd_villages_by_code",
        "parameters": [
          {
            "description": "The village's LGD code.",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "A village by its LGD code",
        "tags": [
          "Villages and LGD codes"
        ]
      }
    },
    "/v1/llm/classify": {
      "post": {
        "description": "Send {text, labels, multi, instructions}: 2 to 30 labels; the answer is always one of them (label), or with multi true every one that fits (labels). instructions may say what the labels mean. Needs a free API key from the start: https://lookmetechnology.com/signup",
        "operationId": "llm_classify",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "text": "The delivery came two days late and the box was torn.",
                "labels": [
                  "positive",
                  "negative",
                  "neutral"
                ]
              },
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "A JSON document as below.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Pick a label for a text from your list",
        "tags": [
          "Small LLM (English)"
        ],
        "x-key-required": true
      }
    },
    "/v1/llm/extract": {
      "post": {
        "description": "Send {text, fields} (up to 40 names, each answered as a string) or {text, schema} (a JSON Schema of type object, up to 8 KB). The answer's data always matches the schema: decoding is constrained to it. Anything the text does not say comes back empty. Needs a free API key from the start: https://lookmetechnology.com/signup",
        "operationId": "llm_extract",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "text": "Hi, I am Ravi Kumar from Coimbatore, call me on 98765 43210 about the 2 BHK flat.",
                "fields": [
                  "name",
                  "city",
                  "phone",
                  "requirement"
                ]
              },
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "A JSON document as below.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Extract fields from text as JSON",
        "tags": [
          "Small LLM (English)"
        ],
        "x-key-required": true
      }
    },
    "/v1/llm/rewrite": {
      "post": {
        "description": "Send {text, style}: style formal, simple, polite, shorter, friendly or grammar (the default: fix grammar and spelling only). Up to 4,000 characters. Needs a free API key from the start: https://lookmetechnology.com/signup",
        "operationId": "llm_rewrite",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "text": "pls send the documents asap we are waiting since monday",
                "style": "polite"
              },
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "A JSON document as below.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Rewrite text in another tone",
        "tags": [
          "Small LLM (English)"
        ],
        "x-key-required": true
      }
    },
    "/v1/llm/summarise": {
      "post": {
        "description": "Send {text, style, words}: style paragraph (default), bullets or headline; words the length, 10 to 300 (default 60). Up to 12,000 characters. Answers {summary, style, truncated, usage}. Needs a free API key from the start: https://lookmetechnology.com/signup",
        "operationId": "llm_summarise",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "text": "The Reserve Bank of India kept the repo rate unchanged at 5.5 per cent on Wednesday. The Monetary Policy Committee voted unanimously and said inflation was within the target band, while growth stayed strong.",
                "style": "headline"
              },
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "A JSON document as below.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Summarise English text",
        "tags": [
          "Small LLM (English)"
        ],
        "x-key-required": true
      }
    },
    "/v1/logos/{symbol}": {
      "get": {
        "description": "Returns the image itself, ready for an \u003cimg\u003e tag. A listed company without a published logo gets an initials tile, marked with the X-Logo-Fallback: monogram header. An unknown symbol also gets the tile, with status 200, the headers X-Logo-Fallback: monogram and X-Logo-Known: false, and a one-day cache lifetime, so a logo added later shows up soon; fallback=none answers 404 instead. A symbol that is not an Indian listing is looked up in the brand, global stock and asset logo sets, in that order, and X-Logo-Set says which answered (india, brand, stock or asset). Unknown names are counted (the name only) so that their logos can be added. A 304 answer, or a PNG this server has already drawn, does not count against the rate limit.",
        "operationId": "logos_by_symbol",
        "parameters": [
          {
            "description": "Ticker, exchange-qualified ticker, Yahoo symbol, ISIN or earlier ticker. A .svg or .png suffix selects the format.",
            "in": "path",
            "name": "symbol",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Image format. Default svg.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            }
          },
          {
            "description": "PNG width and height in pixels, 16 to 512. Default 128.",
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "What an unknown symbol gets: monogram (the default, an initials tile) or none (404).",
            "in": "query",
            "name": "fallback",
            "required": false,
            "schema": {
              "enum": [
                "monogram",
                "none"
              ],
              "type": "string"
            }
          },
          {
            "description": "Force an exchange: nse or bse for the Indian listing, or a global exchange for the global stocks.",
            "in": "query",
            "name": "exchange",
            "required": false,
            "schema": {
              "enum": [
                "nse",
                "bse",
                "nasdaq",
                "nyse",
                "amex",
                "lse",
                "tse",
                "hkex",
                "xetr",
                "fwb",
                "euronext",
                "tsx",
                "asx",
                "six"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Logo image for a listed company",
        "tags": [
          "Company logos"
        ]
      }
    },
    "/v1/mandi": {
      "get": {
        "description": "The latest day's prices unless date is given, 100 rows unless limit says otherwise.",
        "operationId": "mandi",
        "parameters": [
          {
            "description": "As Agmarknet names it: Tomato, Onion, Potato, Paddy(Dhan)(Common) ... (see /v1/mandi/commodities).",
            "in": "query",
            "name": "commodity",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Such as Tamil Nadu.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Such as Dharmapuri.",
            "in": "query",
            "name": "district",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Part of a market's name.",
            "in": "query",
            "name": "market",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "YYYY-MM-DD, within the last 30 days. Default the latest.",
            "in": "query",
            "name": "date",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "1 to 1000. Default 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Prices by commodity, state, district or market",
        "tags": [
          "Mandi prices"
        ]
      }
    },
    "/v1/mandi/commodities": {
      "get": {
        "description": "Each commodity with how many markets reported it and the range of their modal prices.",
        "operationId": "mandi_commodities",
        "parameters": [
          {
            "description": "Only this state's markets.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "What was reported on the latest day",
        "tags": [
          "Mandi prices"
        ]
      }
    },
    "/v1/markdown": {
      "get": {
        "description": "Markdown to safe HTML (GitHub-flavoured, raw HTML left out), or HTML to Markdown.",
        "operationId": "markdown",
        "parameters": [
          {
            "description": "The text.",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Default: markdown when the text has tags, else html.",
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "enum": [
                "html",
                "markdown"
              ],
              "type": "string"
            }
          },
          {
            "description": "HTML to Markdown: keep only the main content.",
            "in": "query",
            "name": "main",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "html": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "HTML and Markdown to each other",
        "tags": [
          "Web pages"
        ]
      },
      "post": {
        "description": "Markdown to safe HTML (GitHub-flavoured, raw HTML left out), or HTML to Markdown.",
        "operationId": "markdown_post",
        "parameters": [
          {
            "description": "Default: markdown when the text has tags, else html.",
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "enum": [
                "html",
                "markdown"
              ],
              "type": "string"
            }
          },
          {
            "description": "HTML to Markdown: keep only the main content.",
            "in": "query",
            "name": "main",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "main": {
                    "description": "HTML to Markdown: keep only the main content.",
                    "type": "boolean"
                  },
                  "text": {
                    "description": "The text, as text/plain or JSON {\"text\": \"...\", \"to\": \"html\"}.",
                    "type": "string"
                  },
                  "to": {
                    "description": "Default: markdown when the text has tags, else html.",
                    "enum": [
                      "html",
                      "markdown"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text, as text/plain or JSON {\"text\": \"...\", \"to\": \"html\"}. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "html": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "HTML and Markdown to each other",
        "tags": [
          "Web pages"
        ]
      }
    },
    "/v1/market/status": {
      "get": {
        "description": "NSE equities session at a moment: pre_open, open, closing or closed, the reason it is closed, and when it next opens. Without at, the current moment.",
        "operationId": "market_status",
        "parameters": [
          {
            "description": "Moment with its offset, RFC 3339, for example 2026-10-13T10:30:00+05:30.",
            "in": "query",
            "name": "at",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "at": {
                              "type": "string"
                            },
                            "exchange": {
                              "type": "string"
                            },
                            "hours": {
                              "properties": {
                                "closing": {
                                  "type": "string"
                                },
                                "normal": {
                                  "type": "string"
                                },
                                "preOpen": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "nextOpen": {
                              "type": "string"
                            },
                            "open": {
                              "type": "boolean"
                            },
                            "reasons": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "session": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Is the stock market open",
        "tags": [
          "Working days"
        ]
      }
    },
    "/v1/mcp-tools": {
      "get": {
        "description": "",
        "operationId": "mcp-tools",
        "parameters": [
          {
            "description": "The task in a few words. Empty lists every tool.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only one set.",
            "in": "query",
            "name": "set",
            "required": false,
            "schema": {
              "enum": [
                "files",
                "money",
                "network",
                "text",
                "dates",
                "places"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "description": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "set": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Search the MCP tools",
        "tags": [
          "MCP tools"
        ]
      }
    },
    "/v1/media/convert": {
      "post": {
        "description": "To MP3, WAV, OGG (Opus), M4A, FLAC, MP4, WebM or an animated GIF. Options go in the query string, or as form fields when the file is sent as multipart/form-data. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "media_convert",
        "parameters": [
          {
            "description": "What to make.",
            "in": "query",
            "name": "format",
            "required": true,
            "schema": {
              "enum": [
                "mp3",
                "wav",
                "ogg",
                "m4a",
                "flac",
                "mp4",
                "webm",
                "gif"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "Audio or video ffmpeg can read (MP3, WAV, M4A, OGG, FLAC, MP4, MOV, WebM, MKV...), up to 10 MB; the first 10 minutes are used.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "audio/mpeg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "audio/ogg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "audio/wav": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Convert audio or video",
        "tags": [
          "Audio and video tools"
        ],
        "x-key-required": true
      }
    },
    "/v1/media/thumbnail": {
      "post": {
        "description": " Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "media_thumbnail",
        "parameters": [
          {
            "description": "Time, seconds or m:ss. Default 1.",
            "in": "query",
            "name": "at",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "32 to 3840. Default 640.",
            "in": "query",
            "name": "width",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "Audio or video ffmpeg can read (MP3, WAV, M4A, OGG, FLAC, MP4, MOV, WebM, MKV...), up to 10 MB; the first 10 minutes are used.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "image/avif": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/gif": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/jpeg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/tiff": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/webp": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "A frame from a video",
        "tags": [
          "Audio and video tools"
        ],
        "x-key-required": true
      }
    },
    "/v1/media/trim": {
      "post": {
        "description": "Keeps the part from start to end. Options go in the query string, or as form fields when the file is sent as multipart/form-data. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "media_trim",
        "parameters": [
          {
            "description": "Seconds, or m:ss. Default 0.",
            "in": "query",
            "name": "start",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Seconds, or m:ss.",
            "in": "query",
            "name": "end",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Output format when the file's own is not one of these.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "mp3",
                "wav",
                "ogg",
                "m4a",
                "flac",
                "mp4",
                "webm",
                "gif"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "Audio or video ffmpeg can read (MP3, WAV, M4A, OGG, FLAC, MP4, MOV, WebM, MKV...), up to 10 MB; the first 10 minutes are used.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "audio/mpeg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "audio/ogg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "audio/wav": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Cut a clip",
        "tags": [
          "Audio and video tools"
        ],
        "x-key-required": true
      }
    },
    "/v1/media/waveform": {
      "post": {
        "description": " Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "media_waveform",
        "parameters": [
          {
            "description": "100 to 4000. Default 1200.",
            "in": "query",
            "name": "width",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "40 to 1000. Default 200.",
            "in": "query",
            "name": "height",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Hex. Default 2563eb.",
            "in": "query",
            "name": "color",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "Audio or video ffmpeg can read (MP3, WAV, M4A, OGG, FLAC, MP4, MOV, WebM, MKV...), up to 10 MB; the first 10 minutes are used.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "image/avif": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/gif": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/jpeg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/tiff": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/webp": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Waveform picture",
        "tags": [
          "Audio and video tools"
        ],
        "x-key-required": true
      }
    },
    "/v1/micr/{code}": {
      "get": {
        "description": "The nine-digit code at the foot of a cheque, to the bank branch and its IFSC.",
        "operationId": "micr_by_code",
        "parameters": [
          {
            "description": "Nine digits.",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "address": {
                                "type": "string"
                              },
                              "bank": {
                                "properties": {
                                  "code": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "branch": {
                                "type": "string"
                              },
                              "centre": {
                                "type": "string"
                              },
                              "city": {
                                "type": "string"
                              },
                              "contact": {
                                "type": "string"
                              },
                              "district": {
                                "type": "string"
                              },
                              "ifsc": {
                                "type": "string"
                              },
                              "imps": {
                                "type": "boolean"
                              },
                              "micr": {
                                "type": "string"
                              },
                              "neft": {
                                "type": "boolean"
                              },
                              "rtgs": {
                                "type": "boolean"
                              },
                              "state": {
                                "type": "string"
                              },
                              "stateCode": {
                                "type": "string"
                              },
                              "swift": {
                                "type": "string"
                              },
                              "upi": {
                                "type": "boolean"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Branch from a MICR code",
        "tags": [
          "IFSC and banks"
        ]
      }
    },
    "/v1/models": {
      "get": {
        "description": "OpenAI's model list with the one model, for clients that ask before they chat.",
        "operationId": "models",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "The model list, for OpenAI clients",
        "tags": [
          "Small LLM (English)"
        ]
      }
    },
    "/v1/mtr/{host}": {
      "get": {
        "description": "Lists hops up to the one where the host answered, or one past the last router that answered. A hop with 100% loss is common: many routers forward traffic without answering probes. otherAddresses lists further routers seen at the same hop, where traffic is balanced over several paths.",
        "operationId": "mtr_by_host",
        "parameters": [
          {
            "description": "Domain name or public IP address.",
            "in": "path",
            "name": "host",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Probes per hop, 1 to 10. Default 5; a trace takes about a second per round.",
            "in": "query",
            "name": "rounds",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "IP version for a domain name. Default 4.",
            "in": "query",
            "name": "v",
            "required": false,
            "schema": {
              "enum": [
                "4",
                "6"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Trace the route to a host",
        "tags": [
          "Traceroute from India"
        ]
      }
    },
    "/v1/mutual-funds": {
      "get": {
        "description": "Every word of q must appear in the scheme name, in any order. Only active schemes unless all=true.",
        "operationId": "mutual-funds",
        "parameters": [
          {
            "description": "Words of the scheme name.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Part of the fund house name, such as hdfc.",
            "in": "query",
            "name": "fundHouse",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Part of the SEBI category, such as Small Cap.",
            "in": "query",
            "name": "category",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Plan.",
            "in": "query",
            "name": "plan",
            "required": false,
            "schema": {
              "enum": [
                "direct",
                "regular"
              ],
              "type": "string"
            }
          },
          {
            "description": "Option.",
            "in": "query",
            "name": "option",
            "required": false,
            "schema": {
              "enum": [
                "growth",
                "idcw",
                "bonus"
              ],
              "type": "string"
            }
          },
          {
            "description": "Include wound-up and matured schemes.",
            "in": "query",
            "name": "all",
            "required": false,
            "schema": {
              "enum": [
                "true"
              ],
              "type": "string"
            }
          },
          {
            "description": "Results per page, 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Results to skip.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "active": {
                                "type": "boolean"
                              },
                              "category": {
                                "type": "string"
                              },
                              "code": {
                                "type": "integer"
                              },
                              "fundHouse": {
                                "type": "string"
                              },
                              "isinGrowth": {
                                "type": "string"
                              },
                              "isinReinvestment": {},
                              "name": {
                                "type": "string"
                              },
                              "nav": {
                                "type": "number"
                              },
                              "navDate": {
                                "type": "string"
                              },
                              "option": {
                                "type": "string"
                              },
                              "optionLabel": {
                                "type": "string"
                              },
                              "plan": {
                                "type": "string"
                              },
                              "planLabel": {
                                "type": "string"
                              },
                              "type": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Search schemes",
        "tags": [
          "Mutual fund NAVs"
        ]
      }
    },
    "/v1/mutual-funds/fund-houses": {
      "get": {
        "description": "",
        "operationId": "mutual-funds_fund-houses",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "activeSchemes": {
                                "type": "integer"
                              },
                              "name": {
                                "type": "string"
                              },
                              "schemes": {
                                "type": "integer"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Fund houses",
        "tags": [
          "Mutual fund NAVs"
        ]
      }
    },
    "/v1/mutual-funds/{code}": {
      "get": {
        "description": "",
        "operationId": "mutual-funds_by_code",
        "parameters": [
          {
            "description": "AMFI scheme code, or the scheme's growth or reinvestment ISIN.",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "active": {
                              "type": "boolean"
                            },
                            "category": {
                              "type": "string"
                            },
                            "code": {
                              "type": "integer"
                            },
                            "fundHouse": {
                              "type": "string"
                            },
                            "isinGrowth": {
                              "type": "string"
                            },
                            "isinReinvestment": {},
                            "name": {
                              "type": "string"
                            },
                            "nav": {
                              "type": "number"
                            },
                            "navDate": {
                              "type": "string"
                            },
                            "option": {
                              "type": "string"
                            },
                            "optionLabel": {
                              "type": "string"
                            },
                            "plan": {
                              "type": "string"
                            },
                            "planLabel": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "A scheme and its NAV",
        "tags": [
          "Mutual fund NAVs"
        ]
      }
    },
    "/v1/mutual-funds/{code}/history": {
      "get": {
        "description": "Month-end NAVs for up to ten years and every NAV of the last 45 days.",
        "operationId": "mutual-funds_by_code_history",
        "parameters": [
          {
            "description": "AMFI scheme code or ISIN.",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "From this date, YYYY-MM-DD.",
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Up to this date.",
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "NAV history",
        "tags": [
          "Mutual fund NAVs"
        ]
      }
    },
    "/v1/mutual-funds/{code}/returns": {
      "get": {
        "description": "Point-to-point returns over 1, 3 and 6 months and 1, 3, 5 and 10 years (CAGR from a year), and what a monthly SIP of 1,000 would be worth now (XIRR), from AMFI's NAV history.",
        "operationId": "mutual-funds_by_code_returns",
        "parameters": [
          {
            "description": "AMFI scheme code or ISIN.",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Returns and SIP returns",
        "tags": [
          "Mutual fund NAVs"
        ]
      }
    },
    "/v1/ocr": {
      "post": {
        "description": "Returns the text, Tesseract's confidence and, with words=true, every word with its box. A PDF is read up to 10 pages at a time at 300 dpi; a PDF that already holds text is read faster by /v1/pdf/text. Options go in the query string, or as form fields when the file is sent as multipart/form-data. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "ocr",
        "parameters": [
          {
            "description": "Languages, joined by + or a comma: eng, hin, tam, tel, kan, mal, ben, guj, pan, ori, mar (or en, ta, hi...). Default eng.",
            "in": "query",
            "name": "lang",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Also return each word with its confidence and box.",
            "in": "query",
            "name": "words",
            "required": false,
            "schema": {
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "PDF: first page to read. Default 1.",
            "in": "query",
            "name": "first",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "PDF: last page to read; at most 10 pages per request.",
            "in": "query",
            "name": "last",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A picture: JPEG, PNG, WebP, HEIC, AVIF, GIF, BMP or TIFF, up to 10 MB. Or a PDF.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Read the text in a picture or PDF",
        "tags": [
          "OCR"
        ],
        "x-key-required": true
      }
    },
    "/v1/og-image": {
      "get": {
        "description": "A 1200 by 630 card for og:image and twitter:image: a title (set as large as fits in three lines, cut with an ellipsis beyond that), an optional subtitle of up to two lines, and a site name and tag along the bottom. The same URL always gives the same picture, so it can be used directly in a meta tag.",
        "operationId": "og-image",
        "parameters": [
          {
            "description": "Up to 200 characters, in any script.",
            "in": "query",
            "name": "title",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Up to 300 characters; two lines are shown.",
            "in": "query",
            "name": "subtitle",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Site name, bottom left.",
            "in": "query",
            "name": "site",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Short label, bottom right.",
            "in": "query",
            "name": "tag",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Default dark.",
            "in": "query",
            "name": "theme",
            "required": false,
            "schema": {
              "enum": [
                "dark",
                "light"
              ],
              "type": "string"
            }
          },
          {
            "description": "Background colour, hex.",
            "in": "query",
            "name": "bg",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Title colour, hex.",
            "in": "query",
            "name": "fg",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Accent colour, hex.",
            "in": "query",
            "name": "accent",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Default png.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "png",
                "svg"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Social preview image",
        "tags": [
          "Generated images"
        ]
      }
    },
    "/v1/panchang/{date}": {
      "get": {
        "description": "For a pincode, a latitude and longitude, or (by default) New Delhi. Times are in the time zone asked for.",
        "operationId": "panchang_by_date",
        "parameters": [
          {
            "description": "YYYY-MM-DD, 1900 to 2100, or today.",
            "in": "path",
            "name": "date",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Indian pincode of the place.",
            "in": "query",
            "name": "pincode",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Latitude, if no pincode.",
            "in": "query",
            "name": "lat",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Longitude, if no pincode.",
            "in": "query",
            "name": "lng",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "IANA time zone for the times. Default Asia/Kolkata.",
            "in": "query",
            "name": "tz",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "abhijitMuhurta": {
                              "properties": {
                                "end": {
                                  "type": "string"
                                },
                                "start": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "ayanamsa": {
                              "type": "number"
                            },
                            "date": {
                              "type": "string"
                            },
                            "gulikaKalam": {
                              "properties": {
                                "end": {
                                  "type": "string"
                                },
                                "start": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "karana": {
                              "items": {
                                "properties": {
                                  "end": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "number": {
                                    "type": "integer"
                                  },
                                  "start": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "lunarMonth": {
                              "properties": {
                                "adhika": {
                                  "type": "boolean"
                                },
                                "amanta": {
                                  "type": "string"
                                },
                                "purnimanta": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "moonSign": {
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "tamil": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "moonrise": {
                              "type": "string"
                            },
                            "moonset": {
                              "type": "string"
                            },
                            "nakshatra": {
                              "items": {
                                "properties": {
                                  "end": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "number": {
                                    "type": "integer"
                                  },
                                  "pada": {
                                    "type": "integer"
                                  },
                                  "start": {
                                    "type": "string"
                                  },
                                  "tamil": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "place": {
                              "properties": {
                                "latitude": {
                                  "type": "number"
                                },
                                "longitude": {
                                  "type": "number"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "pincode": {
                                  "type": "string"
                                },
                                "timeZone": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "rahuKalam": {
                              "properties": {
                                "end": {
                                  "type": "string"
                                },
                                "start": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "shakaYear": {
                              "type": "integer"
                            },
                            "sunSign": {
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "tamil": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "sunrise": {
                              "type": "string"
                            },
                            "sunset": {
                              "type": "string"
                            },
                            "tamilMonth": {
                              "properties": {
                                "day": {
                                  "type": "integer"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "tamil": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "tamilYear": {
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "tamil": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "tithi": {
                              "items": {
                                "properties": {
                                  "end": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "number": {
                                    "type": "integer"
                                  },
                                  "paksha": {
                                    "type": "string"
                                  },
                                  "start": {
                                    "type": "string"
                                  },
                                  "tamil": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "vikramSamvat": {
                              "type": "integer"
                            },
                            "weekday": {
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "tamil": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "yamagandam": {
                              "properties": {
                                "end": {
                                  "type": "string"
                                },
                                "start": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "yoga": {
                              "items": {
                                "properties": {
                                  "end": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "number": {
                                    "type": "integer"
                                  },
                                  "start": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Panchang for a date",
        "tags": [
          "Panchang"
        ]
      }
    },
    "/v1/pdf/compress": {
      "post": {
        "description": "Removes duplicate fonts and images and packs the file's structure. Pictures are not re-compressed, so a scanned PDF shrinks little. The original size is in the X-Original-Bytes header; when nothing was gained, the original comes back.",
        "operationId": "pdf_compress",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A PDF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/pdf": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Make a PDF smaller",
        "tags": [
          "PDF tools"
        ]
      }
    },
    "/v1/pdf/from-images": {
      "post": {
        "description": "One page per picture, in the order sent, as multipart form fields (up to 20). Options go in the query string, or as form fields when the file is sent as multipart/form-data.",
        "operationId": "pdf_from-images",
        "parameters": [
          {
            "description": "Page size; fit makes each page the picture's size. Default A4.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "enum": [
                "A4",
                "Letter",
                "fit"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "image/avif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/gif": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/heic": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/jpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/png": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/tiff": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "image/webp": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "Pictures (JPEG, PNG, WebP, HEIC...), up to 25 MB together.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/pdf": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Pictures to PDF",
        "tags": [
          "PDF tools"
        ]
      }
    },
    "/v1/pdf/info": {
      "post": {
        "description": "Page count, PDF version, title, author, dates, page sizes (named when A4, Letter and so on), and whether it has forms, signatures or attachments.",
        "operationId": "pdf_info",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A PDF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "attachments": {
                              "type": "integer"
                            },
                            "author": {
                              "type": "string"
                            },
                            "bookmarks": {
                              "type": "boolean"
                            },
                            "bytes": {
                              "type": "integer"
                            },
                            "created": {
                              "type": "string"
                            },
                            "creator": {
                              "type": "string"
                            },
                            "encrypted": {
                              "type": "boolean"
                            },
                            "form": {
                              "type": "boolean"
                            },
                            "keywords": {
                              "type": "array"
                            },
                            "linearized": {
                              "type": "boolean"
                            },
                            "modified": {
                              "type": "string"
                            },
                            "page_sizes": {
                              "items": {
                                "properties": {
                                  "height": {
                                    "type": "number"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "width": {
                                    "type": "number"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "pages": {
                              "type": "integer"
                            },
                            "producer": {
                              "type": "string"
                            },
                            "signatures": {
                              "type": "boolean"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "tagged": {
                              "type": "boolean"
                            },
                            "title": {
                              "type": "string"
                            },
                            "version": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Pages, size and details of a PDF",
        "tags": [
          "PDF tools"
        ]
      }
    },
    "/v1/pdf/merge": {
      "post": {
        "description": "Send two to twenty PDFs as form fields, in order; up to 25 MB together. Returns one PDF.",
        "operationId": "pdf_merge",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "items": {
                      "format": "binary",
                      "type": "string"
                    },
                    "minItems": 2,
                    "type": "array"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "Two to twenty PDFs as multipart/form-data, up to 25 MB together.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/pdf": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Merge PDFs into one",
        "tags": [
          "PDF tools"
        ]
      }
    },
    "/v1/pdf/page-numbers": {
      "post": {
        "description": "Writes the page number on every page. Options go in the query string, or as form fields when the file is sent as multipart/form-data.",
        "operationId": "pdf_page-numbers",
        "parameters": [
          {
            "description": "3, Page 3, or Page 3 of 9. Default number.",
            "in": "query",
            "name": "style",
            "required": false,
            "schema": {
              "enum": [
                "number",
                "page",
                "of"
              ],
              "type": "string"
            }
          },
          {
            "description": "Default bottom-center.",
            "in": "query",
            "name": "position",
            "required": false,
            "schema": {
              "enum": [
                "bottom-center",
                "bottom-right",
                "bottom-left",
                "top-center",
                "top-right"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A PDF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/pdf": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Number the pages",
        "tags": [
          "PDF tools"
        ]
      }
    },
    "/v1/pdf/pages": {
      "post": {
        "description": "Returns a PDF of the pages named, in the order named; a page may be named twice. To split a PDF, ask for each part in turn. Options go in the query string, or as form fields when the file is sent as multipart/form-data.",
        "operationId": "pdf_pages",
        "parameters": [
          {
            "description": "Pages: numbers and ranges such as 1-3,5,8- (8 to the end), odd, even or l (the last page).",
            "in": "query",
            "name": "pages",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A PDF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/pdf": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Pick, reorder or split pages",
        "tags": [
          "PDF tools"
        ]
      }
    },
    "/v1/pdf/render": {
      "post": {
        "description": "Returns one page as PNG or JPEG, for previews and thumbnails. Options go in the query string, or as form fields when the file is sent as multipart/form-data.",
        "operationId": "pdf_render",
        "parameters": [
          {
            "description": "Page number. Default 1.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Width in pixels, 50 to 3000. Default 1000.",
            "in": "query",
            "name": "width",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Default png.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "png",
                "jpeg"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A PDF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "image/avif": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/gif": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/jpeg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/tiff": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/webp": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Draw a page as a picture",
        "tags": [
          "PDF tools"
        ]
      }
    },
    "/v1/pdf/rotate": {
      "post": {
        "description": "Turns pages clockwise by a multiple of 90 degrees. Options go in the query string, or as form fields when the file is sent as multipart/form-data.",
        "operationId": "pdf_rotate",
        "parameters": [
          {
            "description": "Degrees, clockwise. Default 90.",
            "in": "query",
            "name": "angle",
            "required": false,
            "schema": {
              "enum": [
                "90",
                "180",
                "270",
                "-90",
                "-180",
                "-270"
              ],
              "type": "integer"
            }
          },
          {
            "description": "Pages: numbers and ranges such as 1-3,5,8- (8 to the end), odd, even or l (the last page).",
            "in": "query",
            "name": "pages",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A PDF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/pdf": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Rotate pages",
        "tags": [
          "PDF tools"
        ]
      }
    },
    "/v1/pdf/text": {
      "post": {
        "description": "The text of each page, in reading order, or laid out as on the page with layout=true. needs_ocr is true when the pages hold almost no text, as in a scan: send those to /v1/ocr. Options go in the query string, or as form fields when the file is sent as multipart/form-data.",
        "operationId": "pdf_text",
        "parameters": [
          {
            "description": "First page. Default 1.",
            "in": "query",
            "name": "first",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Last page; at most 500 pages per request.",
            "in": "query",
            "name": "last",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Keep the page's layout with spaces, for tables.",
            "in": "query",
            "name": "layout",
            "required": false,
            "schema": {
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A PDF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Text of a PDF, page by page",
        "tags": [
          "PDF tools"
        ]
      }
    },
    "/v1/pdf/unlock": {
      "post": {
        "description": "With the password you give, returns the PDF without its protection. For files that are yours to open. Options go in the query string, or as form fields when the file is sent as multipart/form-data.",
        "operationId": "pdf_unlock",
        "parameters": [
          {
            "description": "The PDF's password. Send it as a form field rather than in the address.",
            "in": "query",
            "name": "password",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A PDF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/pdf": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Remove a PDF's password",
        "tags": [
          "PDF tools"
        ]
      }
    },
    "/v1/pdf/watermark": {
      "post": {
        "description": "A grey diagonal text across the pages (Latin letters). Options go in the query string, or as form fields when the file is sent as multipart/form-data.",
        "operationId": "pdf_watermark",
        "parameters": [
          {
            "description": "Up to 80 characters, no commas.",
            "in": "query",
            "name": "text",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Pages: numbers and ranges such as 1-3,5,8- (8 to the end), odd, even or l (the last page).",
            "in": "query",
            "name": "pages",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/pdf": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          },
          "description": "A PDF, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/pdf": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Watermark a PDF",
        "tags": [
          "PDF tools"
        ]
      }
    },
    "/v1/phone/{number}": {
      "get": {
        "description": "",
        "operationId": "phone_by_number",
        "parameters": [
          {
            "description": "The number, with or without +91, 91 or 0; spaces and dashes are ignored.",
            "in": "path",
            "name": "number",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "circle": {
                              "properties": {
                                "area": {
                                  "type": "string"
                                },
                                "category": {
                                  "type": "string"
                                },
                                "code": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "e164": {
                              "type": "string"
                            },
                            "national": {
                              "type": "string"
                            },
                            "originalOperator": {
                              "properties": {
                                "code": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "series": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string"
                            },
                            "valid": {
                              "type": "boolean"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Check a phone number",
        "tags": [
          "Phone numbers"
        ]
      }
    },
    "/v1/pincode": {
      "get": {
        "description": "Find post offices by the start of their name, by the start of a pincode, or list a district.",
        "operationId": "pincode",
        "parameters": [
          {
            "description": "Start of a post office name (2+ characters) or start of a pincode.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "State code or name, for example TN or Tamil Nadu.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Exact district name.",
            "in": "query",
            "name": "district",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Results per page, 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Results to skip.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "circle": {
                                "type": "string"
                              },
                              "delivery": {
                                "type": "boolean"
                              },
                              "district": {
                                "type": "string"
                              },
                              "division": {
                                "type": "string"
                              },
                              "latitude": {
                                "type": "number"
                              },
                              "longitude": {
                                "type": "number"
                              },
                              "name": {
                                "type": "string"
                              },
                              "pincode": {
                                "type": "string"
                              },
                              "region": {
                                "type": "string"
                              },
                              "state": {
                                "type": "string"
                              },
                              "stateCode": {
                                "type": "string"
                              },
                              "type": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Search post offices",
        "tags": [
          "Pincodes"
        ]
      }
    },
    "/v1/pincode/near": {
      "get": {
        "description": "Post offices within a radius of a latitude and longitude, nearest first, with the distance. Positions come from the Department of Posts and some are approximate.",
        "operationId": "pincode_near",
        "parameters": [
          {
            "description": "Latitude in decimal degrees.",
            "in": "query",
            "name": "lat",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Longitude in decimal degrees.",
            "in": "query",
            "name": "lng",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Kilometres, 1 to 50. Default 5.",
            "in": "query",
            "name": "radius",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Results, 1 to 100. Default 10.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "circle": {
                                "type": "string"
                              },
                              "delivery": {
                                "type": "boolean"
                              },
                              "distanceKm": {
                                "type": "number"
                              },
                              "district": {
                                "type": "string"
                              },
                              "division": {
                                "type": "string"
                              },
                              "latitude": {
                                "type": "number"
                              },
                              "longitude": {
                                "type": "number"
                              },
                              "name": {
                                "type": "string"
                              },
                              "pincode": {
                                "type": "string"
                              },
                              "region": {
                                "type": "string"
                              },
                              "state": {
                                "type": "string"
                              },
                              "stateCode": {
                                "type": "string"
                              },
                              "type": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Post offices near a point",
        "tags": [
          "Pincodes"
        ]
      }
    },
    "/v1/pincode/{pincode}": {
      "get": {
        "description": "Returns the district and state of the pincode and every post office that uses it.",
        "operationId": "pincode_by_pincode",
        "parameters": [
          {
            "description": "Six-digit pincode.",
            "in": "path",
            "name": "pincode",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "district": {
                              "type": "string"
                            },
                            "offices": {
                              "items": {
                                "properties": {
                                  "circle": {
                                    "type": "string"
                                  },
                                  "delivery": {
                                    "type": "boolean"
                                  },
                                  "district": {
                                    "type": "string"
                                  },
                                  "division": {
                                    "type": "string"
                                  },
                                  "latitude": {
                                    "type": "number"
                                  },
                                  "longitude": {
                                    "type": "number"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "region": {
                                    "type": "string"
                                  },
                                  "state": {
                                    "type": "string"
                                  },
                                  "stateCode": {
                                    "type": "string"
                                  },
                                  "type": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "pincode": {
                              "type": "string"
                            },
                            "state": {
                              "type": "string"
                            },
                            "stateCode": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Post offices for a pincode",
        "tags": [
          "Pincodes"
        ]
      }
    },
    "/v1/placeholder/{size}": {
      "get": {
        "description": "A plain box with its size (or your text) in the middle, for mock-ups and layouts.",
        "operationId": "placeholder_by_size",
        "parameters": [
          {
            "description": "WIDTHxHEIGHT, or one number for a square; each 8 to 4000. A .png suffix gives PNG.",
            "in": "path",
            "name": "size",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Text to show instead of the size, up to 80 characters.",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Background colour as hex. Default dde3ea.",
            "in": "query",
            "name": "bg",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Text colour as hex. Default 556070.",
            "in": "query",
            "name": "fg",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "svg (default) or png.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Placeholder image",
        "tags": [
          "Generated images"
        ]
      }
    },
    "/v1/probe": {
      "get": {
        "description": "With rounds above 1 the URL is fetched that many times and summary gives the fastest, median and slowest total; the other fields describe the first round. A redirect into private address space, to another port or to anything other than http or https is refused. The URL may carry a token, so the request is not logged and the answer is not cached.",
        "operationId": "probe",
        "parameters": [
          {
            "description": "An http or https address. A bare host name is taken as https.",
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Times to fetch it, 1 to 5. Default 1.",
            "in": "query",
            "name": "rounds",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Time a URL from India",
        "tags": [
          "HTTP probe from India"
        ]
      }
    },
    "/v1/propagation": {
      "get": {
        "description": "Rules behind the band ratings: 80m-40m: fair by day (D-layer absorption), good at night. 30m-20m: good by day; at night good from a solar flux of 120, fair from 80, else poor. 17m-15m: by day good from a solar flux of 110, fair from 80, else poor; at night fair from 150, else poor. 12m-10m: by day good from a solar flux of 150, fair from 110, else poor; at night fair from 200, else poor. A K-index of 4 lowers every night rating one step; 5 or more lowers every rating one step, and 7 or more two. An M-class X-ray flux lowers the day rating of 80m-40m and 30m-20m one step; X-class makes every day rating poor. Readings NOAA did not publish at the last fetch are null.",
        "operationId": "propagation",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Space weather and band conditions",
        "tags": [
          "HF propagation"
        ]
      }
    },
    "/v1/qr": {
      "get": {
        "description": "Returns the image itself. Text up to about 2,900 bytes at error correction L.",
        "operationId": "qr",
        "parameters": [
          {
            "description": "Text to encode (or POST it).",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Error correction: how much damage the code survives. Default M.",
            "in": "query",
            "name": "ecc",
            "required": false,
            "schema": {
              "enum": [
                "L",
                "M",
                "Q",
                "H"
              ],
              "type": "string"
            }
          },
          {
            "description": "Image format. Default svg.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            }
          },
          {
            "description": "2D codes: width in pixels to stay within, 32 to 2048. Default 256.",
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Light border (quiet zone), in modules, 0 to 16. Default 4.",
            "in": "query",
            "name": "margin",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Dark colour, hex such as 000000. Default black.",
            "in": "query",
            "name": "fg",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Light colour, hex, or transparent. Default white.",
            "in": "query",
            "name": "bg",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "QR code for any text",
        "tags": [
          "QR codes and barcodes"
        ]
      },
      "post": {
        "description": "Returns the image itself. Text up to about 2,900 bytes at error correction L.",
        "operationId": "qr_post",
        "parameters": [
          {
            "description": "Error correction: how much damage the code survives. Default M.",
            "in": "query",
            "name": "ecc",
            "required": false,
            "schema": {
              "enum": [
                "L",
                "M",
                "Q",
                "H"
              ],
              "type": "string"
            }
          },
          {
            "description": "Image format. Default svg.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            }
          },
          {
            "description": "2D codes: width in pixels to stay within, 32 to 2048. Default 256.",
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Light border (quiet zone), in modules, 0 to 16. Default 4.",
            "in": "query",
            "name": "margin",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Dark colour, hex such as 000000. Default black.",
            "in": "query",
            "name": "fg",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Light colour, hex, or transparent. Default white.",
            "in": "query",
            "name": "bg",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "bg": {
                    "description": "Light colour, hex, or transparent. Default white.",
                    "type": "string"
                  },
                  "ecc": {
                    "description": "Error correction: how much damage the code survives. Default M.",
                    "enum": [
                      "L",
                      "M",
                      "Q",
                      "H"
                    ],
                    "type": "string"
                  },
                  "fg": {
                    "description": "Dark colour, hex such as 000000. Default black.",
                    "type": "string"
                  },
                  "format": {
                    "description": "Image format. Default svg.",
                    "enum": [
                      "svg",
                      "png"
                    ],
                    "type": "string"
                  },
                  "margin": {
                    "description": "Light border (quiet zone), in modules, 0 to 16. Default 4.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "2D codes: width in pixels to stay within, 32 to 2048. Default 256.",
                    "type": "integer"
                  },
                  "text": {
                    "description": "The text to encode.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text to encode. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "QR code for any text",
        "tags": [
          "QR codes and barcodes"
        ]
      }
    },
    "/v1/qr/parse": {
      "get": {
        "description": "Splits the text of a payment QR code into its fields and checks the EMVCo checksum. To get the text from a picture, POST the picture to /v1/barcode/read first.",
        "operationId": "qr_parse",
        "parameters": [
          {
            "description": "The QR code's text.",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "amount": {
                              "type": "string"
                            },
                            "currency": {
                              "type": "string"
                            },
                            "fields": {
                              "properties": {
                                "_handle": {
                                  "type": "string"
                                },
                                "am": {
                                  "type": "string"
                                },
                                "cu": {
                                  "type": "string"
                                },
                                "mc": {
                                  "type": "string"
                                },
                                "pa": {
                                  "type": "string"
                                },
                                "pn": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "kind": {
                              "type": "string"
                            },
                            "merchantCategory": {
                              "type": "string"
                            },
                            "merchantCategoryCode": {
                              "type": "string"
                            },
                            "payee": {
                              "type": "string"
                            },
                            "payeeName": {
                              "type": "string"
                            },
                            "warnings": {
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Read a UPI or Bharat QR code's text",
        "tags": [
          "UPI handles and payment QR codes"
        ]
      },
      "post": {
        "description": "Splits the text of a payment QR code into its fields and checks the EMVCo checksum. To get the text from a picture, POST the picture to /v1/barcode/read first.",
        "operationId": "qr_parse_post",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "text": {
                    "description": "The QR code's text, as text/plain or JSON {\"text\": \"...\"}.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The QR code's text, as text/plain or JSON {\"text\": \"...\"}. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "amount": {
                              "type": "string"
                            },
                            "currency": {
                              "type": "string"
                            },
                            "fields": {
                              "properties": {
                                "_handle": {
                                  "type": "string"
                                },
                                "am": {
                                  "type": "string"
                                },
                                "cu": {
                                  "type": "string"
                                },
                                "mc": {
                                  "type": "string"
                                },
                                "pa": {
                                  "type": "string"
                                },
                                "pn": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "kind": {
                              "type": "string"
                            },
                            "merchantCategory": {
                              "type": "string"
                            },
                            "merchantCategoryCode": {
                              "type": "string"
                            },
                            "payee": {
                              "type": "string"
                            },
                            "payeeName": {
                              "type": "string"
                            },
                            "warnings": {
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Read a UPI or Bharat QR code's text",
        "tags": [
          "UPI handles and payment QR codes"
        ]
      }
    },
    "/v1/rag": {
      "post": {
        "description": " Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "rag",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {},
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "Nothing, or {} .",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "created": {
                              "type": "string"
                            },
                            "documents": {
                              "type": "string"
                            },
                            "expires": {
                              "type": "string"
                            },
                            "id": {
                              "type": "string"
                            },
                            "query": {
                              "type": "string"
                            },
                            "secret": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Make a collection",
        "tags": [
          "Search your own documents"
        ],
        "x-key-required": true
      }
    },
    "/v1/rag/{id}/delete": {
      "post": {
        "description": "",
        "operationId": "rag_by_id_delete",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {},
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "Nothing, or {} .",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "deleted": {
                              "type": "boolean"
                            },
                            "id": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Delete a collection",
        "tags": [
          "Search your own documents"
        ]
      }
    },
    "/v1/rag/{id}/documents": {
      "post": {
        "description": " Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "rag_by_id_documents",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "documents": [
                  {
                    "name": "shop rules",
                    "text": "Returns are accepted within 7 days with the bill."
                  }
                ]
              },
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "JSON {\"documents\": [{\"name\": \"...\", \"text\": \"...\"}], \"size\": 800}: up to 2 MB of text.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "added": {
                              "type": "integer"
                            },
                            "passages": {
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Add documents",
        "tags": [
          "Search your own documents"
        ],
        "x-key-required": true
      }
    },
    "/v1/rag/{id}/query": {
      "post": {
        "description": " Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "rag_by_id_query",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "query": "How many digits does a pincode have?",
                "top": 2
              },
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "JSON {\"query\": \"...\", \"top\": 5, \"rerank\": true}.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Ask a question",
        "tags": [
          "Search your own documents"
        ],
        "x-key-required": true
      }
    },
    "/v1/rates": {
      "get": {
        "description": "",
        "operationId": "rates",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Current RBI rates",
        "tags": [
          "RBI rates and exchange rates"
        ]
      }
    },
    "/v1/read": {
      "get": {
        "description": "One page fetched and turned into clean Markdown, its main content only, for agents and retrieval. One page per call; robots.txt is respected (agent IndiaAPI-Reader). Needs a free API key once keys are required (see /keys). Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "read",
        "parameters": [
          {
            "description": "The page.",
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "true keeps navigation, headers and footers.",
            "in": "query",
            "name": "full",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "markdown answers with the Markdown itself.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "json",
                "markdown"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "A web page as Markdown",
        "tags": [
          "Web pages"
        ],
        "x-key-required": true
      }
    },
    "/v1/regex": {
      "get": {
        "description": "An invalid pattern answers 422 with code invalid_pattern and the engine's message; a JavaScript pattern that runs out of time answers 422 with code timeout. A group that took no part in a match has a null text, which is different from an empty one.",
        "operationId": "regex",
        "parameters": [
          {
            "description": "The regular expression, without slashes. Up to 4096 bytes.",
            "in": "query",
            "name": "pattern",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The text to test it on (or POST it).",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "js (default): JavaScript syntax, with lookaround and backreferences. re2: Go's syntax, linear time.",
            "in": "query",
            "name": "flavor",
            "required": false,
            "schema": {
              "enum": [
                "js",
                "re2"
              ],
              "type": "string"
            }
          },
          {
            "description": "Any of i (ignore case), m (^ and $ at line breaks), s (. matches line breaks). Every match is always listed, so g is not needed.",
            "in": "query",
            "name": "flags",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Replace every match with this: $1, $\u003cname\u003e, $\u0026 and $$ in js; ${1}, ${name} and $$ in re2.",
            "in": "query",
            "name": "replace",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Matches listed, 1 to 1000. Default 100; count goes on to the end of the text.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "count": {
                              "type": "integer"
                            },
                            "explanation": {
                              "items": {
                                "properties": {
                                  "depth": {
                                    "type": "integer"
                                  },
                                  "meaning": {
                                    "type": "string"
                                  },
                                  "token": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "flags": {
                              "type": "string"
                            },
                            "flavor": {
                              "type": "string"
                            },
                            "groups": {
                              "items": {
                                "properties": {
                                  "index": {
                                    "type": "integer"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "matches": {
                              "items": {
                                "properties": {
                                  "end": {
                                    "type": "integer"
                                  },
                                  "groups": {
                                    "items": {
                                      "properties": {
                                        "end": {
                                          "type": "integer"
                                        },
                                        "index": {
                                          "type": "integer"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "start": {
                                          "type": "integer"
                                        },
                                        "text": {
                                          "type": "string"
                                        }
                                      },
                                      "type": "object"
                                    },
                                    "type": "array"
                                  },
                                  "start": {
                                    "type": "integer"
                                  },
                                  "text": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "pattern": {
                              "type": "string"
                            },
                            "truncated": {
                              "type": "boolean"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Test a regular expression",
        "tags": [
          "Regex tester"
        ]
      },
      "post": {
        "description": "An invalid pattern answers 422 with code invalid_pattern and the engine's message; a JavaScript pattern that runs out of time answers 422 with code timeout. A group that took no part in a match has a null text, which is different from an empty one.",
        "operationId": "regex_post",
        "parameters": [
          {
            "description": "The regular expression, without slashes. Up to 4096 bytes.",
            "in": "query",
            "name": "pattern",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "js (default): JavaScript syntax, with lookaround and backreferences. re2: Go's syntax, linear time.",
            "in": "query",
            "name": "flavor",
            "required": false,
            "schema": {
              "enum": [
                "js",
                "re2"
              ],
              "type": "string"
            }
          },
          {
            "description": "Any of i (ignore case), m (^ and $ at line breaks), s (. matches line breaks). Every match is always listed, so g is not needed.",
            "in": "query",
            "name": "flags",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Replace every match with this: $1, $\u003cname\u003e, $\u0026 and $$ in js; ${1}, ${name} and $$ in re2.",
            "in": "query",
            "name": "replace",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Matches listed, 1 to 1000. Default 100; count goes on to the end of the text.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "flags": {
                    "description": "Any of i (ignore case), m (^ and $ at line breaks), s (. matches line breaks). Every match is always listed, so g is not needed.",
                    "type": "string"
                  },
                  "flavor": {
                    "description": "js (default): JavaScript syntax, with lookaround and backreferences. re2: Go's syntax, linear time.",
                    "enum": [
                      "js",
                      "re2"
                    ],
                    "type": "string"
                  },
                  "limit": {
                    "description": "Matches listed, 1 to 1000. Default 100; count goes on to the end of the text.",
                    "type": "integer"
                  },
                  "pattern": {
                    "description": "The regular expression, without slashes. Up to 4096 bytes.",
                    "type": "string"
                  },
                  "replace": {
                    "description": "Replace every match with this: $1, $\u003cname\u003e, $\u0026 and $$ in js; ${1}, ${name} and $$ in re2.",
                    "type": "string"
                  },
                  "text": {
                    "description": "The text to test the pattern on (pattern and options in the query), or JSON {\"pattern\": ..., \"text\": ...} with the options beside them.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text to test the pattern on (pattern and options in the query), or JSON {\"pattern\": ..., \"text\": ...} with the options beside them. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "count": {
                              "type": "integer"
                            },
                            "explanation": {
                              "items": {
                                "properties": {
                                  "depth": {
                                    "type": "integer"
                                  },
                                  "meaning": {
                                    "type": "string"
                                  },
                                  "token": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "flags": {
                              "type": "string"
                            },
                            "flavor": {
                              "type": "string"
                            },
                            "groups": {
                              "items": {
                                "properties": {
                                  "index": {
                                    "type": "integer"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "matches": {
                              "items": {
                                "properties": {
                                  "end": {
                                    "type": "integer"
                                  },
                                  "groups": {
                                    "items": {
                                      "properties": {
                                        "end": {
                                          "type": "integer"
                                        },
                                        "index": {
                                          "type": "integer"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "start": {
                                          "type": "integer"
                                        },
                                        "text": {
                                          "type": "string"
                                        }
                                      },
                                      "type": "object"
                                    },
                                    "type": "array"
                                  },
                                  "start": {
                                    "type": "integer"
                                  },
                                  "text": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "pattern": {
                              "type": "string"
                            },
                            "truncated": {
                              "type": "boolean"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Test a regular expression",
        "tags": [
          "Regex tester"
        ]
      }
    },
    "/v1/rerank": {
      "get": {
        "description": "Scores how well each document answers the query, from 0 to 1, and returns them best first with their place in the request. Up to 100 documents of up to 8,000 characters; each pair is read up to 512 tokens. GET takes query and repeated document parameters; POST takes JSON. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "rerank",
        "parameters": [
          {
            "description": "The question, up to 2,000 characters.",
            "in": "query",
            "name": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "A candidate; repeat for each (or POST them).",
            "in": "query",
            "name": "document",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Return only the best few. Default all.",
            "in": "query",
            "name": "top",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Rerank documents for a query",
        "tags": [
          "Embeddings and reranking"
        ],
        "x-key-required": true
      },
      "post": {
        "description": "Scores how well each document answers the query, from 0 to 1, and returns them best first with their place in the request. Up to 100 documents of up to 8,000 characters; each pair is read up to 512 tokens. GET takes query and repeated document parameters; POST takes JSON. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "rerank_post",
        "parameters": [
          {
            "description": "The question, up to 2,000 characters.",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "A candidate; repeat for each (or POST them).",
            "in": "query",
            "name": "document",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Return only the best few. Default all.",
            "in": "query",
            "name": "top",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "document": {
                    "description": "A candidate; repeat for each (or POST them).",
                    "type": "string"
                  },
                  "query": {
                    "description": "The question, up to 2,000 characters.",
                    "type": "string"
                  },
                  "text": {
                    "description": "JSON: {\"query\": \"...\", \"documents\": [\"...\", \"...\"], \"top\": 3}.",
                    "type": "string"
                  },
                  "top": {
                    "description": "Return only the best few. Default all.",
                    "type": "integer"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "JSON: {\"query\": \"...\", \"documents\": [\"...\", \"...\"], \"top\": 3}. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Rerank documents for a query",
        "tags": [
          "Embeddings and reranking"
        ],
        "x-key-required": true
      }
    },
    "/v1/rto": {
      "get": {
        "description": "",
        "operationId": "rto",
        "parameters": [
          {
            "description": "State code or name, for example TN or Tamil Nadu.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Text to find in the office name or jurisdiction.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Results per page, 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Results to skip.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "jurisdiction": {
                                "type": "string"
                              },
                              "notes": {
                                "type": "string"
                              },
                              "office": {
                                "type": "string"
                              },
                              "state": {
                                "type": "string"
                              },
                              "stateCode": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "List or search RTO codes",
        "tags": [
          "RTO codes"
        ]
      }
    },
    "/v1/rto/{code}": {
      "get": {
        "description": "",
        "operationId": "rto_by_code",
        "parameters": [
          {
            "description": "RTO code (TN-28, TN28) or a registration number (TN28AB1234).",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "code": {
                              "type": "string"
                            },
                            "jurisdiction": {
                              "type": "string"
                            },
                            "notes": {},
                            "office": {
                              "type": "string"
                            },
                            "state": {
                              "type": "string"
                            },
                            "stateCode": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Office for an RTO code",
        "tags": [
          "RTO codes"
        ]
      }
    },
    "/v1/sat-pass": {
      "get": {
        "description": "Passes from now for the next days, soonest first. Directions are compass points and azimuths in degrees from true north; elevations are degrees above the horizon. A satellite can be named by catalogue number, by name, by the designation in its name's brackets (SO-50, AO-7), or as ISS, CSS or QO-100.",
        "operationId": "sat-pass",
        "parameters": [
          {
            "description": "Catalogue number or name. Default ISS (25544).",
            "in": "query",
            "name": "sat",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Indian pincode of the observer.",
            "in": "query",
            "name": "pincode",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Latitude, if no pincode. Default New Delhi.",
            "in": "query",
            "name": "lat",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Longitude, if no pincode.",
            "in": "query",
            "name": "lng",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "How far ahead, 1 to 10. Default 3.",
            "in": "query",
            "name": "days",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Lowest peak elevation listed, in degrees. Default 10; 0 lists every pass.",
            "in": "query",
            "name": "minElevation",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "true lists only passes that can be seen with the eye.",
            "in": "query",
            "name": "visible",
            "required": false,
            "schema": {
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          },
          {
            "description": "IANA time zone for the times. Default Asia/Kolkata.",
            "in": "query",
            "name": "tz",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Passes over a place",
        "tags": [
          "Satellite passes"
        ]
      }
    },
    "/v1/satellites": {
      "get": {
        "description": "Every tracked satellite with its catalogue number, groups, orbital period and inclination.",
        "operationId": "satellites",
        "parameters": [
          {
            "description": "Part of a name, or a catalogue number.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Limit to one group.",
            "in": "query",
            "name": "group",
            "required": false,
            "schema": {
              "enum": [
                "stations",
                "amateur"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Tracked satellites",
        "tags": [
          "Satellite passes"
        ]
      }
    },
    "/v1/satellites/{id}": {
      "get": {
        "description": "The point on Earth below the satellite at the moment of the request, its altitude and speed, whether it is in sunlight, and how old its orbit elements are.",
        "operationId": "satellites_by_id",
        "parameters": [
          {
            "description": "Catalogue number or name.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Where a satellite is now",
        "tags": [
          "Satellite passes"
        ]
      }
    },
    "/v1/sectors": {
      "get": {
        "description": "Every sector and industry of the NSE and BSE listed companies with how many companies each has; give sector to list its industries and largest companies.",
        "operationId": "sectors",
        "parameters": [
          {
            "description": "One sector, as listed.",
            "in": "query",
            "name": "sector",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "companies": {
                                "type": "integer"
                              },
                              "sector": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Sectors and industries of listed companies",
        "tags": [
          "Company logos"
        ]
      }
    },
    "/v1/sheet/from-json": {
      "post": {
        "description": "Records in, an XLSX workbook out, with the header row frozen.",
        "operationId": "sheet_from-json",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "records": [
                  {
                    "pincode": "637001",
                    "district": "Namakkal"
                  },
                  {
                    "pincode": "600001",
                    "district": "Chennai"
                  }
                ]
              },
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "JSON: {\"records\": [{...}]} for one sheet, or {\"sheets\": [{\"name\": \"...\", \"records\": [...]}, {\"name\": \"...\", \"values\": [[...]]}]}.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "JSON to a spreadsheet",
        "tags": [
          "Data format tools"
        ]
      }
    },
    "/v1/sheet/to-json": {
      "post": {
        "description": "Every sheet of an XLSX workbook (or a CSV file) as records named by the first row. Options go in the query string, or as form fields when the file is sent as multipart/form-data.",
        "operationId": "sheet_to-json",
        "parameters": [
          {
            "description": "Only this sheet.",
            "in": "query",
            "name": "sheet",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "false gives rows of values instead of records. Default true.",
            "in": "query",
            "name": "header",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            },
            "text/csv": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            }
          },
          "description": "An XLSX workbook or a CSV file, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "columns": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "name": {
                                "type": "string"
                              },
                              "records": {
                                "items": {
                                  "properties": {
                                    "district": {
                                      "type": "string"
                                    },
                                    "office": {
                                      "type": "string"
                                    },
                                    "pincode": {
                                      "type": "string"
                                    },
                                    "state": {
                                      "type": "string"
                                    }
                                  },
                                  "type": "object"
                                },
                                "type": "array"
                              },
                              "rows": {
                                "type": "integer"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Spreadsheet to JSON",
        "tags": [
          "Data format tools"
        ]
      }
    },
    "/v1/states": {
      "get": {
        "description": "",
        "operationId": "states",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "gstCode": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "type": {
                                "type": "string"
                              },
                              "vehicleCodes": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "All states and union territories",
        "tags": [
          "States"
        ]
      }
    },
    "/v1/states/{code}": {
      "get": {
        "description": "",
        "operationId": "states_by_code",
        "parameters": [
          {
            "description": "State code, vehicle prefix or name.",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "code": {
                              "type": "string"
                            },
                            "gstCode": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string"
                            },
                            "vehicleCodes": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "One state",
        "tags": [
          "States"
        ]
      }
    },
    "/v1/stations": {
      "get": {
        "description": "By name (an exact code comes first, then names starting with the text), state or zone.",
        "operationId": "stations",
        "parameters": [
          {
            "description": "Part of a station name, or a code.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "State code or name, for example TN or Tamil Nadu.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Zone code, such as SR. See /v1/stations/zones.",
            "in": "query",
            "name": "zone",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Results per page, 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Results to skip.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "elevationM": {},
                              "name": {
                                "type": "string"
                              },
                              "state": {
                                "type": "string"
                              },
                              "stateCode": {
                                "type": "string"
                              },
                              "zone": {}
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Search stations",
        "tags": [
          "Railway stations"
        ]
      }
    },
    "/v1/stations/zones": {
      "get": {
        "description": "",
        "operationId": "stations_zones",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Railway zones",
        "tags": [
          "Railway stations"
        ]
      }
    },
    "/v1/stations/{code}": {
      "get": {
        "description": "",
        "operationId": "stations_by_code",
        "parameters": [
          {
            "description": "Station code, such as MAS or NDLS.",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "code": {
                              "type": "string"
                            },
                            "elevationM": {
                              "type": "integer"
                            },
                            "name": {
                              "type": "string"
                            },
                            "state": {
                              "type": "string"
                            },
                            "stateCode": {
                              "type": "string"
                            },
                            "zone": {
                              "properties": {
                                "code": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Station for a code",
        "tags": [
          "Railway stations"
        ]
      }
    },
    "/v1/std-codes": {
      "get": {
        "description": "Areas whose names (or long distance area) contain the words, or every area of a circle; shortest codes first.",
        "operationId": "std-codes",
        "parameters": [
          {
            "description": "3 to 60 letters of a town's name.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "A circle code such as TN, KT, MH, UPE, NE.",
            "in": "query",
            "name": "circle",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "area": {
                                "type": "string"
                              },
                              "circle": {
                                "type": "string"
                              },
                              "circle_name": {
                                "type": "string"
                              },
                              "code": {
                                "type": "string"
                              },
                              "dial": {
                                "type": "string"
                              },
                              "long_distance_area": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Find the STD code of a town",
        "tags": [
          "STD codes"
        ]
      }
    },
    "/v1/std-codes/{code}": {
      "get": {
        "description": "A code (44, 0422) must match whole; a landline number (0422 2345678, +91 44 2345 6789) is matched by its longest code. A whole number is kept out of the log.",
        "operationId": "std-codes_by_code",
        "parameters": [
          {
            "description": "An STD code or a landline number, with or without 0 or +91.",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "area": {
                              "type": "string"
                            },
                            "circle": {
                              "type": "string"
                            },
                            "circle_name": {
                              "type": "string"
                            },
                            "code": {
                              "type": "string"
                            },
                            "dial": {
                              "type": "string"
                            },
                            "long_distance_area": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "The area of an STD code or a landline number",
        "tags": [
          "STD codes"
        ]
      }
    },
    "/v1/stock-logos": {
      "get": {
        "description": "Stocks whose ticker, name or ISIN starts with q, largest first, or every stock.",
        "operationId": "stock-logos",
        "parameters": [
          {
            "description": "Start of a ticker or name.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only this exchange.",
            "in": "query",
            "name": "exchange",
            "required": false,
            "schema": {
              "enum": [
                "NASDAQ",
                "NYSE",
                "AMEX",
                "LSE",
                "TSE",
                "HKEX",
                "XETR",
                "FWB",
                "EURONEXT",
                "TSX",
                "ASX",
                "SIX"
              ],
              "type": "string"
            }
          },
          {
            "description": "Results per page, 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Results to skip.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "aliases": {
                                "type": "array"
                              },
                              "country": {
                                "type": "string"
                              },
                              "currency": {
                                "type": "string"
                              },
                              "exchange": {
                                "type": "string"
                              },
                              "hasLogo": {
                                "type": "boolean"
                              },
                              "id": {
                                "type": "string"
                              },
                              "industry": {
                                "type": "string"
                              },
                              "isin": {
                                "type": "string"
                              },
                              "kind": {
                                "type": "string"
                              },
                              "logo": {
                                "properties": {
                                  "png": {
                                    "type": "string"
                                  },
                                  "svg": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "marketCap": {
                                "type": "number"
                              },
                              "name": {
                                "type": "string"
                              },
                              "sector": {
                                "type": "string"
                              },
                              "symbol": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Search the global stocks",
        "tags": [
          "Brand, stock and asset logos"
        ]
      }
    },
    "/v1/stock-logos/{symbol}": {
      "get": {
        "description": "Returns the image itself. A ticker (AAPL), exchange-qualified ticker (NASDAQ:AAPL), Yahoo Finance symbol (VOD.L, 0700.HK, SAP.DE), ISIN or company name (apple). When a ticker is used on several exchanges the largest company wins unless exchange is given.",
        "operationId": "stock-logos_by_symbol",
        "parameters": [
          {
            "description": "Ticker, exchange-qualified ticker, Yahoo symbol, ISIN or name. A .svg or .png suffix selects the format.",
            "in": "path",
            "name": "symbol",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Image format. Default svg.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            }
          },
          {
            "description": "PNG width and height in pixels, 16 to 512. Default 128.",
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "What an unknown name gets: monogram (the default, an initials tile) or none (404).",
            "in": "query",
            "name": "fallback",
            "required": false,
            "schema": {
              "enum": [
                "monogram",
                "none"
              ],
              "type": "string"
            }
          },
          {
            "description": "Only this exchange.",
            "in": "query",
            "name": "exchange",
            "required": false,
            "schema": {
              "enum": [
                "NASDAQ",
                "NYSE",
                "AMEX",
                "LSE",
                "TSE",
                "HKEX",
                "XETR",
                "FWB",
                "EURONEXT",
                "TSX",
                "ASX",
                "SIX"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Logo of a global stock",
        "tags": [
          "Brand, stock and asset logos"
        ]
      }
    },
    "/v1/stt": {
      "post": {
        "description": "Send a recording (MP3, WAV, Ogg, M4A, WebM, video files too) and get the text with timed segments, as JSON, SRT or WebVTT subtitles, or plain text. Whisper small recognises about a hundred languages, Indian ones included; it is good on clear English and fair on Indian languages. task=translate gives English text whatever was spoken. The first five minutes are heard. Options go in the query string, or as form fields when the file is sent as multipart/form-data. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "stt",
        "parameters": [
          {
            "description": "auto (default) or the language spoken: en, hi, ta, te, kn, ml, mr, bn, gu, pa, ur, as, ne, sa, sd, or, ar, fr, de, es, zh, ja. Naming it helps on short clips.",
            "in": "query",
            "name": "language",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "transcribe (default) writes what was said; translate writes it in English.",
            "in": "query",
            "name": "task",
            "required": false,
            "schema": {
              "enum": [
                "transcribe",
                "translate"
              ],
              "type": "string"
            }
          },
          {
            "description": "Default json.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "json",
                "srt",
                "vtt",
                "text"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "audio/mp4": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "audio/mpeg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "audio/ogg": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "audio/wav": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "audio/webm": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            },
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            },
            "video/mp4": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            }
          },
          "description": "An audio or video file, up to 10 MB.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Speech to text, with subtitles",
        "tags": [
          "Speech"
        ],
        "x-key-required": true
      }
    },
    "/v1/sun-moon/{date}": {
      "get": {
        "description": "For a pincode, a latitude and longitude, or (by default) New Delhi. A twilight time is null where the sun does not sink that far, and moonrise or moonset is null on the day each month the moon does not rise or set. The phase names a principal phase (new moon, first quarter, full moon, last quarter) for the whole date it falls on.",
        "operationId": "sun-moon_by_date",
        "parameters": [
          {
            "description": "YYYY-MM-DD, 1900 to 2100, or today.",
            "in": "path",
            "name": "date",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Indian pincode of the place.",
            "in": "query",
            "name": "pincode",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Latitude, -66 to 66, if no pincode.",
            "in": "query",
            "name": "lat",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "Longitude, if no pincode.",
            "in": "query",
            "name": "lng",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "description": "IANA time zone for the times. Default Asia/Kolkata.",
            "in": "query",
            "name": "tz",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "date": {
                              "type": "string"
                            },
                            "moon": {
                              "properties": {
                                "ageDays": {
                                  "type": "number"
                                },
                                "illumination": {
                                  "type": "integer"
                                },
                                "moonrise": {
                                  "type": "string"
                                },
                                "moonset": {
                                  "type": "string"
                                },
                                "nextPhases": {
                                  "properties": {
                                    "firstQuarter": {
                                      "type": "string"
                                    },
                                    "fullMoon": {
                                      "type": "string"
                                    },
                                    "lastQuarter": {
                                      "type": "string"
                                    },
                                    "newMoon": {
                                      "type": "string"
                                    }
                                  },
                                  "type": "object"
                                },
                                "phase": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "place": {
                              "properties": {
                                "latitude": {
                                  "type": "number"
                                },
                                "longitude": {
                                  "type": "number"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "pincode": {
                                  "type": "string"
                                },
                                "timeZone": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "sun": {
                              "properties": {
                                "astronomicalTwilight": {
                                  "properties": {
                                    "dawn": {
                                      "type": "string"
                                    },
                                    "dusk": {
                                      "type": "string"
                                    }
                                  },
                                  "type": "object"
                                },
                                "civilTwilight": {
                                  "properties": {
                                    "dawn": {
                                      "type": "string"
                                    },
                                    "dusk": {
                                      "type": "string"
                                    }
                                  },
                                  "type": "object"
                                },
                                "dayLengthMinutes": {
                                  "type": "number"
                                },
                                "nauticalTwilight": {
                                  "properties": {
                                    "dawn": {
                                      "type": "string"
                                    },
                                    "dusk": {
                                      "type": "string"
                                    }
                                  },
                                  "type": "object"
                                },
                                "noonElevation": {
                                  "type": "number"
                                },
                                "solarNoon": {
                                  "type": "string"
                                },
                                "sunrise": {
                                  "type": "string"
                                },
                                "sunset": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Sun and moon for a date",
        "tags": [
          "Sun and moon"
        ]
      }
    },
    "/v1/swift/{code}": {
      "get": {
        "description": "",
        "operationId": "swift_by_code",
        "parameters": [
          {
            "description": "8 or 11 characters, such as HDFCINBB.",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "address": {
                                "type": "string"
                              },
                              "bank": {
                                "properties": {
                                  "code": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "branch": {
                                "type": "string"
                              },
                              "centre": {
                                "type": "string"
                              },
                              "city": {
                                "type": "string"
                              },
                              "contact": {
                                "type": "string"
                              },
                              "district": {
                                "type": "string"
                              },
                              "ifsc": {
                                "type": "string"
                              },
                              "imps": {
                                "type": "boolean"
                              },
                              "micr": {
                                "type": "string"
                              },
                              "neft": {
                                "type": "boolean"
                              },
                              "rtgs": {
                                "type": "boolean"
                              },
                              "state": {
                                "type": "string"
                              },
                              "stateCode": {
                                "type": "string"
                              },
                              "swift": {
                                "type": "string"
                              },
                              "upi": {
                                "type": "boolean"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Branches with a SWIFT code",
        "tags": [
          "IFSC and banks"
        ]
      }
    },
    "/v1/tamil-font/convert": {
      "get": {
        "description": "Give the text as it looks without its font (the Windows-1252 characters), or POST the raw bytes as application/octet-stream. Converting to an 8-bit encoding answers with the same kind of text, and with the bytes in base64. Bytes the encoding does not assign are counted in undefined; characters it has no code for are listed in unmapped.",
        "operationId": "tamil-font_convert",
        "parameters": [
          {
            "description": "The text (or POST it).",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "What the text is in.",
            "in": "query",
            "name": "from",
            "required": true,
            "schema": {
              "enum": [
                "unicode",
                "tscii"
              ],
              "type": "string"
            }
          },
          {
            "description": "What to convert to. Default unicode; one of from and to must be unicode.",
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "enum": [
                "unicode",
                "tscii"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "text": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Convert Tamil text",
        "tags": [
          "Tamil legacy encodings"
        ]
      },
      "post": {
        "description": "Give the text as it looks without its font (the Windows-1252 characters), or POST the raw bytes as application/octet-stream. Converting to an 8-bit encoding answers with the same kind of text, and with the bytes in base64. Bytes the encoding does not assign are counted in undefined; characters it has no code for are listed in unmapped.",
        "operationId": "tamil-font_convert_post",
        "parameters": [
          {
            "description": "What the text is in.",
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "enum": [
                "unicode",
                "tscii"
              ],
              "type": "string"
            }
          },
          {
            "description": "What to convert to. Default unicode; one of from and to must be unicode.",
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "enum": [
                "unicode",
                "tscii"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "from": {
                    "description": "What the text is in.",
                    "enum": [
                      "unicode",
                      "tscii"
                    ],
                    "type": "string"
                  },
                  "text": {
                    "description": "The text, or with Content-Type application/octet-stream the raw bytes.",
                    "type": "string"
                  },
                  "to": {
                    "description": "What to convert to. Default unicode; one of from and to must be unicode.",
                    "enum": [
                      "unicode",
                      "tscii"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text, or with Content-Type application/octet-stream the raw bytes. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "text": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Convert Tamil text",
        "tags": [
          "Tamil legacy encodings"
        ]
      }
    },
    "/v1/tamil-font/encodings": {
      "get": {
        "description": "The encodings that can be converted, with fonts that use each, to help recognise what a text is in.",
        "operationId": "tamil-font_encodings",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "about": {
                                "type": "string"
                              },
                              "fonts": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Encodings offered",
        "tags": [
          "Tamil legacy encodings"
        ]
      }
    },
    "/v1/text/chunk": {
      "get": {
        "description": "Splits at headings, paragraphs, sentences and words, in that order of preference, so chunks stay readable. Markdown chunks never cross a heading and carry their heading path. Each chunk is an exact slice of the input with its character offsets.",
        "operationId": "text_chunk",
        "parameters": [
          {
            "description": "The text (or POST it).",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Largest chunk in characters, overlap included, 100 to 20000. Default 1000.",
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Characters repeated from the previous chunk, up to half the size. Default a tenth of the size.",
            "in": "query",
            "name": "overlap",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Default auto: Markdown if the text has headings or code fences.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "auto",
                "markdown",
                "text"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "chunks": {
                              "items": {
                                "properties": {
                                  "chars": {
                                    "type": "integer"
                                  },
                                  "end": {
                                    "type": "integer"
                                  },
                                  "heading": {
                                    "type": "string"
                                  },
                                  "index": {
                                    "type": "integer"
                                  },
                                  "start": {
                                    "type": "integer"
                                  },
                                  "text": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "format": {
                              "type": "string"
                            },
                            "size": {
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Split a document into chunks",
        "tags": [
          "Text tools"
        ]
      },
      "post": {
        "description": "Splits at headings, paragraphs, sentences and words, in that order of preference, so chunks stay readable. Markdown chunks never cross a heading and carry their heading path. Each chunk is an exact slice of the input with its character offsets.",
        "operationId": "text_chunk_post",
        "parameters": [
          {
            "description": "Largest chunk in characters, overlap included, 100 to 20000. Default 1000.",
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Characters repeated from the previous chunk, up to half the size. Default a tenth of the size.",
            "in": "query",
            "name": "overlap",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Default auto: Markdown if the text has headings or code fences.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "auto",
                "markdown",
                "text"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "format": {
                    "description": "Default auto: Markdown if the text has headings or code fences.",
                    "enum": [
                      "auto",
                      "markdown",
                      "text"
                    ],
                    "type": "string"
                  },
                  "overlap": {
                    "description": "Characters repeated from the previous chunk, up to half the size. Default a tenth of the size.",
                    "type": "integer"
                  },
                  "size": {
                    "description": "Largest chunk in characters, overlap included, 100 to 20000. Default 1000.",
                    "type": "integer"
                  },
                  "text": {
                    "description": "The document, plain text or Markdown.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The document, plain text or Markdown. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "chunks": {
                              "items": {
                                "properties": {
                                  "chars": {
                                    "type": "integer"
                                  },
                                  "end": {
                                    "type": "integer"
                                  },
                                  "heading": {
                                    "type": "string"
                                  },
                                  "index": {
                                    "type": "integer"
                                  },
                                  "start": {
                                    "type": "integer"
                                  },
                                  "text": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "format": {
                              "type": "string"
                            },
                            "size": {
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Split a document into chunks",
        "tags": [
          "Text tools"
        ]
      }
    },
    "/v1/text/language": {
      "get": {
        "description": "Language and script, with a confidence. Covers about 80 languages including Hindi, Bengali, Marathi, Gujarati, Punjabi, Tamil, Telugu, Kannada, Malayalam, Odia and Urdu. Romanised Indian text (Hinglish, Tanglish) is flagged as such.",
        "operationId": "text_language",
        "parameters": [
          {
            "description": "The text (or POST it).",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "code": {
                              "type": "string"
                            },
                            "code2": {
                              "type": "string"
                            },
                            "confidence": {
                              "type": "integer"
                            },
                            "name": {
                              "type": "string"
                            },
                            "reliable": {
                              "type": "boolean"
                            },
                            "script": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Detect the language",
        "tags": [
          "Text tools"
        ]
      },
      "post": {
        "description": "Language and script, with a confidence. Covers about 80 languages including Hindi, Bengali, Marathi, Gujarati, Punjabi, Tamil, Telugu, Kannada, Malayalam, Odia and Urdu. Romanised Indian text (Hinglish, Tanglish) is flagged as such.",
        "operationId": "text_language_post",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "text": {
                    "description": "The text.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "code": {
                              "type": "string"
                            },
                            "code2": {
                              "type": "string"
                            },
                            "confidence": {
                              "type": "integer"
                            },
                            "name": {
                              "type": "string"
                            },
                            "reliable": {
                              "type": "boolean"
                            },
                            "script": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Detect the language",
        "tags": [
          "Text tools"
        ]
      }
    },
    "/v1/text/moderate": {
      "get": {
        "description": "Three classifiers each score the text from 0 to 1: a general multilingual one (toxic), one for Hindi typed in Roman letters (profanity, harassment, hate_speech, caste, communal, regional, misogyny) and one for Tamil typed in Roman letters (offensive). flagged says whether any score reached the threshold. Up to 4,000 characters; the first 256 tokens are read. Scores are a model's guess: use them to sort or to ask a person, not to decide alone. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "text_moderate",
        "parameters": [
          {
            "description": "The text (or POST it).",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Score at which flagged becomes true, between 0 and 1. Default 0.5.",
            "in": "query",
            "name": "threshold",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Comma-separated: general, hinglish, tanglish. Default all three.",
            "in": "query",
            "name": "models",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Score text for abuse, Hinglish and Tanglish included",
        "tags": [
          "Text tools"
        ],
        "x-key-required": true
      },
      "post": {
        "description": "Three classifiers each score the text from 0 to 1: a general multilingual one (toxic), one for Hindi typed in Roman letters (profanity, harassment, hate_speech, caste, communal, regional, misogyny) and one for Tamil typed in Roman letters (offensive). flagged says whether any score reached the threshold. Up to 4,000 characters; the first 256 tokens are read. Scores are a model's guess: use them to sort or to ask a person, not to decide alone. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "text_moderate_post",
        "parameters": [
          {
            "description": "Score at which flagged becomes true, between 0 and 1. Default 0.5.",
            "in": "query",
            "name": "threshold",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Comma-separated: general, hinglish, tanglish. Default all three.",
            "in": "query",
            "name": "models",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "models": {
                    "description": "Comma-separated: general, hinglish, tanglish. Default all three.",
                    "type": "string"
                  },
                  "text": {
                    "description": "The text.",
                    "type": "string"
                  },
                  "threshold": {
                    "description": "Score at which flagged becomes true, between 0 and 1. Default 0.5.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Score text for abuse, Hinglish and Tanglish included",
        "tags": [
          "Text tools"
        ],
        "x-key-required": true
      }
    },
    "/v1/text/redact": {
      "get": {
        "description": "Masks Aadhaar numbers (Verhoeff-checked), PAN, GSTIN (checksum-checked), card numbers (Luhn-checked), Indian mobile numbers, email addresses, UPI IDs, vehicle numbers, voter IDs, passport numbers and IP addresses. Returns where each was found, never the values. With names=true a model also masks people's names: IndicNER for Indian scripts, bert-base-NER for English. Street addresses are not detected.",
        "operationId": "text_redact",
        "parameters": [
          {
            "description": "The text (or POST it).",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Comma-separated kinds to redact; default all. Kinds: email, upi, gstin, card, aadhaar, pan, phone, vehicle, voter_id, passport, ip.",
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "label replaces with [PAN]; partial keeps the last digits, as on a bank statement. Default label.",
            "in": "query",
            "name": "style",
            "required": false,
            "schema": {
              "enum": [
                "label",
                "partial"
              ],
              "type": "string"
            }
          },
          {
            "description": "true also finds people's names with a model (slower; text up to 20,000 characters). Default false.",
            "in": "query",
            "name": "names",
            "required": false,
            "schema": {
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "counts": {
                              "properties": {
                                "pan": {
                                  "type": "integer"
                                },
                                "phone": {
                                  "type": "integer"
                                }
                              },
                              "type": "object"
                            },
                            "findings": {
                              "items": {
                                "properties": {
                                  "end": {
                                    "type": "integer"
                                  },
                                  "start": {
                                    "type": "integer"
                                  },
                                  "type": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "text": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Redact Indian personal identifiers",
        "tags": [
          "Text tools"
        ]
      },
      "post": {
        "description": "Masks Aadhaar numbers (Verhoeff-checked), PAN, GSTIN (checksum-checked), card numbers (Luhn-checked), Indian mobile numbers, email addresses, UPI IDs, vehicle numbers, voter IDs, passport numbers and IP addresses. Returns where each was found, never the values. With names=true a model also masks people's names: IndicNER for Indian scripts, bert-base-NER for English. Street addresses are not detected.",
        "operationId": "text_redact_post",
        "parameters": [
          {
            "description": "Comma-separated kinds to redact; default all. Kinds: email, upi, gstin, card, aadhaar, pan, phone, vehicle, voter_id, passport, ip.",
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "label replaces with [PAN]; partial keeps the last digits, as on a bank statement. Default label.",
            "in": "query",
            "name": "style",
            "required": false,
            "schema": {
              "enum": [
                "label",
                "partial"
              ],
              "type": "string"
            }
          },
          {
            "description": "true also finds people's names with a model (slower; text up to 20,000 characters). Default false.",
            "in": "query",
            "name": "names",
            "required": false,
            "schema": {
              "enum": [
                "true",
                "false"
              ],
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "names": {
                    "description": "true also finds people's names with a model (slower; text up to 20,000 characters). Default false.",
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  },
                  "style": {
                    "description": "label replaces with [PAN]; partial keeps the last digits, as on a bank statement. Default label.",
                    "enum": [
                      "label",
                      "partial"
                    ],
                    "type": "string"
                  },
                  "text": {
                    "description": "The text to redact.",
                    "type": "string"
                  },
                  "types": {
                    "description": "Comma-separated kinds to redact; default all. Kinds: email, upi, gstin, card, aadhaar, pan, phone, vehicle, voter_id, passport, ip.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text to redact. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "counts": {
                              "properties": {
                                "pan": {
                                  "type": "integer"
                                },
                                "phone": {
                                  "type": "integer"
                                }
                              },
                              "type": "object"
                            },
                            "findings": {
                              "items": {
                                "properties": {
                                  "end": {
                                    "type": "integer"
                                  },
                                  "start": {
                                    "type": "integer"
                                  },
                                  "type": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "text": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Redact Indian personal identifiers",
        "tags": [
          "Text tools"
        ]
      }
    },
    "/v1/text/tokens": {
      "get": {
        "description": "Exact token counts with OpenAI tokenizers, by encoding or model name. Other vendors do not publish their tokenizers, so their counts are not offered.",
        "operationId": "text_tokens",
        "parameters": [
          {
            "description": "The text (or POST it).",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Model name, such as gpt-4o or gpt-4, or an encoding: o200k_base, cl100k_base, p50k_base. Default o200k_base.",
            "in": "query",
            "name": "model",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "bytes": {
                              "type": "integer"
                            },
                            "characters": {
                              "type": "integer"
                            },
                            "encoding": {
                              "type": "string"
                            },
                            "models": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "tokens": {
                              "type": "integer"
                            },
                            "words": {
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Count tokens",
        "tags": [
          "Text tools"
        ]
      },
      "post": {
        "description": "Exact token counts with OpenAI tokenizers, by encoding or model name. Other vendors do not publish their tokenizers, so their counts are not offered.",
        "operationId": "text_tokens_post",
        "parameters": [
          {
            "description": "Model name, such as gpt-4o or gpt-4, or an encoding: o200k_base, cl100k_base, p50k_base. Default o200k_base.",
            "in": "query",
            "name": "model",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "model": {
                    "description": "Model name, such as gpt-4o or gpt-4, or an encoding: o200k_base, cl100k_base, p50k_base. Default o200k_base.",
                    "type": "string"
                  },
                  "text": {
                    "description": "The text to count.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text to count. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "bytes": {
                              "type": "integer"
                            },
                            "characters": {
                              "type": "integer"
                            },
                            "encoding": {
                              "type": "string"
                            },
                            "models": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "tokens": {
                              "type": "integer"
                            },
                            "words": {
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Count tokens",
        "tags": [
          "Text tools"
        ]
      }
    },
    "/v1/thirukkural": {
      "get": {
        "description": "Finds kurals containing the text, in Tamil, the transliteration or either translation; or lists a chapter or a paal.",
        "operationId": "thirukkural",
        "parameters": [
          {
            "description": "Text to find, 2 or more characters, Tamil or English.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Chapter (அதிகாரம்), 1 to 133.",
            "in": "query",
            "name": "chapter",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "1 virtue (அறத்துப்பால்), 2 wealth (பொருட்பால்), 3 love (காமத்துப்பால்).",
            "in": "query",
            "name": "paal",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Results per page, 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Results to skip.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "chapter": {
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "number": {
                                    "type": "integer"
                                  },
                                  "translation": {
                                    "type": "string"
                                  },
                                  "transliteration": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "iyal": {
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "number": {
                                    "type": "integer"
                                  },
                                  "translation": {
                                    "type": "string"
                                  },
                                  "transliteration": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "lines": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "number": {
                                "type": "integer"
                              },
                              "paal": {
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "number": {
                                    "type": "integer"
                                  },
                                  "translation": {
                                    "type": "string"
                                  },
                                  "transliteration": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "translations": {
                                "properties": {
                                  "drewLazarus": {
                                    "type": "string"
                                  },
                                  "pope": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "transliteration": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Search kurals",
        "tags": [
          "Thirukkural"
        ]
      }
    },
    "/v1/thirukkural/chapters": {
      "get": {
        "description": "",
        "operationId": "thirukkural_chapters",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "first": {
                                "type": "integer"
                              },
                              "iyal": {
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "number": {
                                    "type": "integer"
                                  },
                                  "translation": {
                                    "type": "string"
                                  },
                                  "transliteration": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "last": {
                                "type": "integer"
                              },
                              "links": {
                                "properties": {
                                  "kurals": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "name": {
                                "type": "string"
                              },
                              "number": {
                                "type": "integer"
                              },
                              "paal": {
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "number": {
                                    "type": "integer"
                                  },
                                  "translation": {
                                    "type": "string"
                                  },
                                  "transliteration": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "translation": {
                                "type": "string"
                              },
                              "transliteration": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "All 133 chapters",
        "tags": [
          "Thirukkural"
        ]
      }
    },
    "/v1/thirukkural/chapters/{number}": {
      "get": {
        "description": "",
        "operationId": "thirukkural_chapters_by_number",
        "parameters": [
          {
            "description": "1 to 133.",
            "in": "path",
            "name": "number",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "first": {
                              "type": "integer"
                            },
                            "iyal": {
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "number": {
                                  "type": "integer"
                                },
                                "translation": {
                                  "type": "string"
                                },
                                "transliteration": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "last": {
                              "type": "integer"
                            },
                            "links": {
                              "properties": {
                                "kurals": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "name": {
                              "type": "string"
                            },
                            "number": {
                              "type": "integer"
                            },
                            "paal": {
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "number": {
                                  "type": "integer"
                                },
                                "translation": {
                                  "type": "string"
                                },
                                "transliteration": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "translation": {
                              "type": "string"
                            },
                            "transliteration": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "One chapter",
        "tags": [
          "Thirukkural"
        ]
      }
    },
    "/v1/thirukkural/random": {
      "get": {
        "description": "",
        "operationId": "thirukkural_random",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "chapter": {
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "number": {
                                  "type": "integer"
                                },
                                "translation": {
                                  "type": "string"
                                },
                                "transliteration": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "iyal": {
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "number": {
                                  "type": "integer"
                                },
                                "translation": {
                                  "type": "string"
                                },
                                "transliteration": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "lines": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "number": {
                              "type": "integer"
                            },
                            "paal": {
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "number": {
                                  "type": "integer"
                                },
                                "translation": {
                                  "type": "string"
                                },
                                "transliteration": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "translations": {
                              "properties": {
                                "drewLazarus": {
                                  "type": "string"
                                },
                                "pope": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "transliteration": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "A random kural",
        "tags": [
          "Thirukkural"
        ]
      }
    },
    "/v1/thirukkural/today": {
      "get": {
        "description": "The same kural for everyone on a day in India, a different one the next day.",
        "operationId": "thirukkural_today",
        "parameters": [
          {
            "description": "A date, YYYY-MM-DD. Default today in India.",
            "in": "query",
            "name": "date",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "chapter": {
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "number": {
                                  "type": "integer"
                                },
                                "translation": {
                                  "type": "string"
                                },
                                "transliteration": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "iyal": {
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "number": {
                                  "type": "integer"
                                },
                                "translation": {
                                  "type": "string"
                                },
                                "transliteration": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "lines": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "number": {
                              "type": "integer"
                            },
                            "paal": {
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "number": {
                                  "type": "integer"
                                },
                                "translation": {
                                  "type": "string"
                                },
                                "transliteration": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "translations": {
                              "properties": {
                                "drewLazarus": {
                                  "type": "string"
                                },
                                "pope": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "transliteration": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Kural of the day",
        "tags": [
          "Thirukkural"
        ]
      }
    },
    "/v1/thirukkural/{number}": {
      "get": {
        "description": "",
        "operationId": "thirukkural_by_number",
        "parameters": [
          {
            "description": "1 to 1330.",
            "in": "path",
            "name": "number",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "chapter": {
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "number": {
                                  "type": "integer"
                                },
                                "translation": {
                                  "type": "string"
                                },
                                "transliteration": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "iyal": {
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "number": {
                                  "type": "integer"
                                },
                                "translation": {
                                  "type": "string"
                                },
                                "transliteration": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "lines": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "number": {
                              "type": "integer"
                            },
                            "paal": {
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "number": {
                                  "type": "integer"
                                },
                                "translation": {
                                  "type": "string"
                                },
                                "transliteration": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "translations": {
                              "properties": {
                                "drewLazarus": {
                                  "type": "string"
                                },
                                "pope": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "transliteration": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "A kural by number",
        "tags": [
          "Thirukkural"
        ]
      }
    },
    "/v1/time": {
      "get": {
        "description": "\"3 pm IST in Berlin\": a time read many ways (2026-11-11 15:00, 3pm, a Unix time) in one zone, shown in others with their offsets and the day difference.",
        "operationId": "time",
        "parameters": [
          {
            "description": "The time. Default now.",
            "in": "query",
            "name": "at",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Its zone: IANA name, short name, city or offset. Default India.",
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Zones to show it in, separated by commas. Default UTC.",
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Convert a time between zones",
        "tags": [
          "Developer utilities"
        ]
      }
    },
    "/v1/tls/{host}": {
      "get": {
        "description": "valid is false when any problem is an error: expired, not yet valid, name_mismatch, self_signed, incomplete_chain, untrusted, weak_key or sha1_signature. Warnings (expires_soon, old_versions, no_tls13, weak_cipher, chain_order) leave it true. Each version is tried with its own handshake offering every cipher Go supports; SSL 3 is not tested.",
        "operationId": "tls_by_host",
        "parameters": [
          {
            "description": "Domain name or public IPv4 address.",
            "in": "path",
            "name": "host",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Check a host's TLS",
        "tags": [
          "TLS check"
        ]
      }
    },
    "/v1/today": {
      "get": {
        "description": "Without date it is about now, and cached for a minute. The panchang (with pincode) counts as 10 more units.",
        "operationId": "today",
        "parameters": [
          {
            "description": "State code or name, for example TN or Tamil Nadu.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Adds sunrise, sunset and the panchang for that place.",
            "in": "query",
            "name": "pincode",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Another day, YYYY-MM-DD, instead of today.",
            "in": "query",
            "name": "date",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Today in India",
        "tags": [
          "Today in India"
        ]
      }
    },
    "/v1/translate": {
      "get": {
        "description": "Translates a sentence at a time and returns the whole translation and each sentence. Up to 2,000 characters and 30 sentences. Write Indian languages in their own script. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "translate",
        "parameters": [
          {
            "description": "The text (or POST it).",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The language of the text: en, or a code from /v1/translate/languages such as hi or ta.",
            "in": "query",
            "name": "from",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The language to translate into.",
            "in": "query",
            "name": "to",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Translate text",
        "tags": [
          "Translation"
        ],
        "x-key-required": true
      },
      "post": {
        "description": "Translates a sentence at a time and returns the whole translation and each sentence. Up to 2,000 characters and 30 sentences. Write Indian languages in their own script. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "translate_post",
        "parameters": [
          {
            "description": "The language of the text: en, or a code from /v1/translate/languages such as hi or ta.",
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The language to translate into.",
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "from": {
                    "description": "The language of the text: en, or a code from /v1/translate/languages such as hi or ta.",
                    "type": "string"
                  },
                  "text": {
                    "description": "The text to translate.",
                    "type": "string"
                  },
                  "to": {
                    "description": "The language to translate into.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text to translate. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Translate text",
        "tags": [
          "Translation"
        ],
        "x-key-required": true
      }
    },
    "/v1/translate/languages": {
      "get": {
        "description": "Every language with its short code and FLORES-200 code; either can be used as from and to.",
        "operationId": "translate_languages",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "short": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Languages",
        "tags": [
          "Translation"
        ]
      }
    },
    "/v1/transliterate": {
      "get": {
        "description": "",
        "operationId": "transliterate",
        "parameters": [
          {
            "description": "The text (or POST it). Letters of other scripts pass through unchanged.",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "A script (devanagari, bengali, gurmukhi, gujarati, odia, tamil, telugu, kannada, malayalam), a language code such as ta or hi, or iso15919, iast, ascii.",
            "in": "query",
            "name": "to",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "auto (default: the script of the text), a script, or iso15919 or iast for romanised input.",
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "text": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Transliterate text",
        "tags": [
          "Transliteration"
        ]
      },
      "post": {
        "description": "",
        "operationId": "transliterate_post",
        "parameters": [
          {
            "description": "A script (devanagari, bengali, gurmukhi, gujarati, odia, tamil, telugu, kannada, malayalam), a language code such as ta or hi, or iso15919, iast, ascii.",
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "auto (default: the script of the text), a script, or iso15919 or iast for romanised input.",
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "from": {
                    "description": "auto (default: the script of the text), a script, or iso15919 or iast for romanised input.",
                    "type": "string"
                  },
                  "text": {
                    "description": "The text.",
                    "type": "string"
                  },
                  "to": {
                    "description": "A script (devanagari, bengali, gurmukhi, gujarati, odia, tamil, telugu, kannada, malayalam), a language code such as ta or hi, or iso15919, iast, ascii.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "text": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Transliterate text",
        "tags": [
          "Transliteration"
        ]
      }
    },
    "/v1/transliterate/suggest": {
      "get": {
        "description": "Guesses how words typed in Roman letters are written in an Indian script with IndicXlit (AI4Bharat), giving up to eight suggestions per word, best first, and the text with the best guess for each word. 21 languages. Up to 60 words; anything that is not Roman letters is kept as it is. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "transliterate_suggest",
        "parameters": [
          {
            "description": "The text (or POST it).",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "as, bn, brx, gom, gu, hi, kn, ks, mai, ml, mni, mr, ne, or, pa, sa, sd, si, ta, te or ur.",
            "in": "query",
            "name": "lang",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Suggestions per word, 1 to 8. Default 4.",
            "in": "query",
            "name": "count",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Roman typing to an Indian script (type English, get Tamil)",
        "tags": [
          "Transliteration"
        ],
        "x-key-required": true
      },
      "post": {
        "description": "Guesses how words typed in Roman letters are written in an Indian script with IndicXlit (AI4Bharat), giving up to eight suggestions per word, best first, and the text with the best guess for each word. 21 languages. Up to 60 words; anything that is not Roman letters is kept as it is. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "transliterate_suggest_post",
        "parameters": [
          {
            "description": "as, bn, brx, gom, gu, hi, kn, ks, mai, ml, mni, mr, ne, or, pa, sa, sd, si, ta, te or ur.",
            "in": "query",
            "name": "lang",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Suggestions per word, 1 to 8. Default 4.",
            "in": "query",
            "name": "count",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "count": {
                    "description": "Suggestions per word, 1 to 8. Default 4.",
                    "type": "integer"
                  },
                  "lang": {
                    "description": "as, bn, brx, gom, gu, hi, kn, ks, mai, ml, mni, mr, ne, or, pa, sa, sd, si, ta, te or ur.",
                    "type": "string"
                  },
                  "text": {
                    "description": "The text in Roman letters.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text in Roman letters. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Roman typing to an Indian script (type English, get Tamil)",
        "tags": [
          "Transliteration"
        ],
        "x-key-required": true
      }
    },
    "/v1/tts": {
      "get": {
        "description": "Returns the audio itself; X-Voice and X-Voice-Licence headers name the voice and its licence. Up to 3,000 characters; split longer text. Write the text in its own script: Hindi in Devanagari, Telugu in Telugu, Malayalam in Malayalam. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "tts",
        "parameters": [
          {
            "description": "What to say (or POST it).",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "A voice ID from /v1/tts/voices, or a language (hi, te, ml, en, en-GB) for its first voice that may be used commercially. Default en.",
            "in": "query",
            "name": "voice",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Default mp3.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "mp3",
                "ogg",
                "wav"
              ],
              "type": "string"
            }
          },
          {
            "description": "0.5 to 2. Default 1.",
            "in": "query",
            "name": "speed",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "audio/mpeg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "audio/ogg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "audio/wav": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Text to speech",
        "tags": [
          "Speech"
        ],
        "x-key-required": true
      },
      "post": {
        "description": "Returns the audio itself; X-Voice and X-Voice-Licence headers name the voice and its licence. Up to 3,000 characters; split longer text. Write the text in its own script: Hindi in Devanagari, Telugu in Telugu, Malayalam in Malayalam. Model endpoint: it will need a free API key from the date on https://lookmetechnology.com/keys; until then a keyless call works and carries an X-Key-Notice header.",
        "operationId": "tts_post",
        "parameters": [
          {
            "description": "A voice ID from /v1/tts/voices, or a language (hi, te, ml, en, en-GB) for its first voice that may be used commercially. Default en.",
            "in": "query",
            "name": "voice",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Default mp3.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "mp3",
                "ogg",
                "wav"
              ],
              "type": "string"
            }
          },
          {
            "description": "0.5 to 2. Default 1.",
            "in": "query",
            "name": "speed",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "format": {
                    "description": "Default mp3.",
                    "enum": [
                      "mp3",
                      "ogg",
                      "wav"
                    ],
                    "type": "string"
                  },
                  "speed": {
                    "description": "0.5 to 2. Default 1.",
                    "type": "string"
                  },
                  "text": {
                    "description": "The text to speak.",
                    "type": "string"
                  },
                  "voice": {
                    "description": "A voice ID from /v1/tts/voices, or a language (hi, te, ml, en, en-GB) for its first voice that may be used commercially. Default en.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The text to speak. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "audio/mpeg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "audio/ogg": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "audio/wav": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Text to speech",
        "tags": [
          "Speech"
        ],
        "x-key-required": true
      }
    },
    "/v1/tts/voices": {
      "get": {
        "description": "Every voice with its language, speaker, licence and the credit the licence asks for.",
        "operationId": "tts_voices",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "attribution": {
                                "type": "string"
                              },
                              "id": {
                                "type": "string"
                              },
                              "language": {
                                "type": "string"
                              },
                              "licence": {
                                "type": "string"
                              },
                              "licence_url": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "non_commercial": {
                                "type": "boolean"
                              },
                              "speaker": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Voices",
        "tags": [
          "Speech"
        ]
      }
    },
    "/v1/typst": {
      "get": {
        "description": "Returns the PDF itself, or one page as an image. A mistake in the document returns 422 with Typst's message, line and column.",
        "operationId": "typst",
        "parameters": [
          {
            "description": "The document (or POST it).",
            "in": "query",
            "name": "text",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Default pdf.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "pdf",
                "png",
                "svg"
              ],
              "type": "string"
            }
          },
          {
            "description": "png and svg: which page. Default 1.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "png: pixels per inch, 36 to 300. Default 144.",
            "in": "query",
            "name": "ppi",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/pdf": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/svg+xml": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Compile Typst to PDF",
        "tags": [
          "Typst to PDF"
        ]
      },
      "post": {
        "description": "Returns the PDF itself, or one page as an image. A mistake in the document returns 422 with Typst's message, line and column.",
        "operationId": "typst_post",
        "parameters": [
          {
            "description": "Default pdf.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "pdf",
                "png",
                "svg"
              ],
              "type": "string"
            }
          },
          {
            "description": "png and svg: which page. Default 1.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "png: pixels per inch, 36 to 300. Default 144.",
            "in": "query",
            "name": "ppi",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "format": {
                    "description": "Default pdf.",
                    "enum": [
                      "pdf",
                      "png",
                      "svg"
                    ],
                    "type": "string"
                  },
                  "page": {
                    "description": "png and svg: which page. Default 1.",
                    "type": "integer"
                  },
                  "ppi": {
                    "description": "png: pixels per inch, 36 to 300. Default 144.",
                    "type": "integer"
                  },
                  "text": {
                    "description": "The Typst document.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              }
            },
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          },
          "description": "The Typst document. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/pdf": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/png": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "image/svg+xml": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Compile Typst to PDF",
        "tags": [
          "Typst to PDF"
        ]
      }
    },
    "/v1/unfurl": {
      "get": {
        "description": "Title, description, image, icon, site name, type and canonical address of a page, from its Open Graph and Twitter tags, for chat and notes apps. Counts as 20 against the rate limit.",
        "operationId": "unfurl",
        "parameters": [
          {
            "description": "An http or https address.",
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Link preview data",
        "tags": [
          "Web pages"
        ]
      }
    },
    "/v1/upi-handles": {
      "get": {
        "description": "",
        "operationId": "upi-handles",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "properties": {
                              "app": {
                                "type": "string"
                              },
                              "bank": {
                                "type": "string"
                              },
                              "handle": {
                                "type": "string"
                              },
                              "kind": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Known UPI handles",
        "tags": [
          "UPI handles and payment QR codes"
        ]
      }
    },
    "/v1/upi-handles/{handle}": {
      "get": {
        "description": "Give the handle (okhdfcbank) or a whole UPI ID; only the part after the @ is read.",
        "operationId": "upi-handles_by_handle",
        "parameters": [
          {
            "description": "The handle, with or without the name and @ before it.",
            "in": "path",
            "name": "handle",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "app": {
                              "type": "string"
                            },
                            "bank": {
                              "type": "string"
                            },
                            "handle": {
                              "type": "string"
                            },
                            "kind": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Look up a UPI handle",
        "tags": [
          "UPI handles and payment QR codes"
        ]
      }
    },
    "/v1/upi-qr": {
      "get": {
        "description": "A QR code any UPI app can scan to pay, built to NPCI's upi://pay link format. format=json returns the link instead of the image. Nothing is checked with a bank.",
        "operationId": "upi-qr",
        "parameters": [
          {
            "description": "Payee UPI ID, such as shop@okaxis.",
            "in": "query",
            "name": "pa",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Payee name shown in the app.",
            "in": "query",
            "name": "pn",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Amount in rupees, up to two decimals. Leave out to let the payer type it.",
            "in": "query",
            "name": "am",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Note shown with the payment, up to 80 characters.",
            "in": "query",
            "name": "tn",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Your reference for the transaction.",
            "in": "query",
            "name": "tr",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Merchant category code, four digits.",
            "in": "query",
            "name": "mc",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Image format. Default svg.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            }
          },
          {
            "description": "2D codes: width in pixels to stay within, 32 to 2048. Default 256.",
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Light border (quiet zone), in modules, 0 to 16. Default 4.",
            "in": "query",
            "name": "margin",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Dark colour, hex such as 000000. Default black.",
            "in": "query",
            "name": "fg",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Light colour, hex, or transparent. Default white.",
            "in": "query",
            "name": "bg",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/png": {},
              "image/svg+xml": {}
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "UPI payment QR code",
        "tags": [
          "QR codes and barcodes"
        ]
      }
    },
    "/v1/user-agent": {
      "get": {
        "description": "Browser, engine, system, device and vendor, and whether it is a person, an AI assistant, a crawler or a program. Without ua, your own request's.",
        "operationId": "user-agent",
        "parameters": [
          {
            "description": "A User-Agent header. Default: yours.",
            "in": "query",
            "name": "ua",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Read a user agent",
        "tags": [
          "Developer utilities"
        ]
      }
    },
    "/v1/uuid": {
      "get": {
        "description": "",
        "operationId": "uuid",
        "parameters": [
          {
            "description": "Default uuid4.",
            "in": "query",
            "name": "kind",
            "required": false,
            "schema": {
              "enum": [
                "uuid4",
                "uuid7",
                "ulid",
                "nanoid"
              ],
              "type": "string"
            }
          },
          {
            "description": "1 to 100. Default 1.",
            "in": "query",
            "name": "count",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "New UUIDs, ULIDs and nano ids",
        "tags": [
          "Developer utilities"
        ]
      }
    },
    "/v1/uuid/{id}": {
      "get": {
        "description": "Its version and variant, and the time inside a version 1 or 7 UUID or a ULID.",
        "operationId": "uuid_by_id",
        "parameters": [
          {
            "description": "The UUID or ULID.",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "kind": {
                              "type": "string"
                            },
                            "time": {
                              "type": "string"
                            },
                            "variant": {
                              "type": "string"
                            },
                            "version": {
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Read a UUID or ULID",
        "tags": [
          "Developer utilities"
        ]
      }
    },
    "/v1/validate/{kind}/{value}": {
      "get": {
        "description": "",
        "operationId": "validate_by_kind_by_value",
        "parameters": [
          {
            "description": "Which identifier.",
            "in": "path",
            "name": "kind",
            "required": true,
            "schema": {
              "enum": [
                "gstin",
                "pan",
                "ifsc"
              ],
              "type": "string"
            }
          },
          {
            "description": "The identifier to check.",
            "in": "path",
            "name": "value",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "kind": {
                              "type": "string"
                            },
                            "normalized": {
                              "type": "string"
                            },
                            "parts": {
                              "properties": {
                                "entityNumber": {
                                  "type": "string"
                                },
                                "holderType": {
                                  "type": "string"
                                },
                                "pan": {
                                  "type": "string"
                                },
                                "state": {
                                  "type": "string"
                                },
                                "stateCode": {
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "valid": {
                              "type": "boolean"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Check an identifier's format",
        "tags": [
          "Format checks"
        ]
      }
    },
    "/v1/whois/{query}": {
      "get": {
        "description": "A name below a registered domain (www.example.co.in) is looked up as that domain (example.co.in). daysToExpiry counts from now. An IP lookup is treated as private: not logged, not cached.",
        "operationId": "whois_by_query",
        "parameters": [
          {
            "description": "A domain name (Indian-script names are accepted), an IPv4 or IPv6 address, or an AS number such as AS55836.",
            "in": "path",
            "name": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Envelope"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Look up a registration",
        "tags": [
          "Whois"
        ]
      }
    },
    "/v1/words/{number}": {
      "get": {
        "description": "",
        "operationId": "words_by_number",
        "parameters": [
          {
            "description": "The number. Commas, spaces and underscores are ignored.",
            "in": "path",
            "name": "number",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Language. Default en.",
            "in": "query",
            "name": "lang",
            "required": false,
            "schema": {
              "enum": [
                "en",
                "hi",
                "ta"
              ],
              "type": "string"
            }
          },
          {
            "description": "currency gives rupees and paise. Default number.",
            "in": "query",
            "name": "style",
            "required": false,
            "schema": {
              "enum": [
                "number",
                "currency"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "input": {
                              "type": "string"
                            },
                            "language": {
                              "type": "string"
                            },
                            "number": {
                              "type": "string"
                            },
                            "style": {
                              "type": "string"
                            },
                            "words": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Spell out a number",
        "tags": [
          "Number to words"
        ]
      }
    },
    "/v1/working-days": {
      "get": {
        "description": "Counts working days from one date to another, both included, and lists each day off with its reason. At most 366 days.",
        "operationId": "working-days",
        "parameters": [
          {
            "description": "First date, YYYY-MM-DD.",
            "in": "query",
            "name": "from",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Last date, YYYY-MM-DD.",
            "in": "query",
            "name": "to",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "bank (default; needs state), market (NSE trading), settlement (NSE clearing) or central (central government offices).",
            "in": "query",
            "name": "calendar",
            "required": false,
            "schema": {
              "enum": [
                "bank",
                "market",
                "settlement",
                "central"
              ],
              "type": "string"
            }
          },
          {
            "description": "State code or name. Required for the bank calendar.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Bank calendar only. One Reserve Bank office's list, such as Srinagar or Kochi, for a state with several offices (Maharashtra, Uttar Pradesh, Jammu and Kashmir, Kerala). Without it, a day off at any of the state's offices counts.",
            "in": "query",
            "name": "office",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "calendar": {
                              "type": "string"
                            },
                            "days": {
                              "type": "integer"
                            },
                            "daysOff": {
                              "items": {
                                "properties": {
                                  "date": {
                                    "type": "string"
                                  },
                                  "reasons": {
                                    "items": {
                                      "type": "string"
                                    },
                                    "type": "array"
                                  },
                                  "weekday": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            },
                            "workingDays": {
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Count working days between two dates",
        "tags": [
          "Working days"
        ]
      }
    },
    "/v1/working-days/{date}": {
      "get": {
        "description": "Whether the date is a working day and why not, the previous and next working days, and with add=N the date N working days later (negative for earlier). A T+1 settlement date is calendar=settlement\u0026add=1.",
        "operationId": "working-days_by_date",
        "parameters": [
          {
            "description": "Date, YYYY-MM-DD.",
            "in": "path",
            "name": "date",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "bank (default; needs state), market (NSE trading), settlement (NSE clearing) or central (central government offices).",
            "in": "query",
            "name": "calendar",
            "required": false,
            "schema": {
              "enum": [
                "bank",
                "market",
                "settlement",
                "central"
              ],
              "type": "string"
            }
          },
          {
            "description": "State code or name. Required for the bank calendar.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Bank calendar only. One Reserve Bank office's list, such as Srinagar or Kochi, for a state with several offices (Maharashtra, Uttar Pradesh, Jammu and Kashmir, Kerala). Without it, a day off at any of the state's offices counts.",
            "in": "query",
            "name": "office",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Working days to add, -366 to 366.",
            "in": "query",
            "name": "add",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Envelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "add": {
                              "type": "integer"
                            },
                            "calendar": {
                              "type": "string"
                            },
                            "date": {
                              "type": "string"
                            },
                            "nextWorkingDay": {
                              "type": "string"
                            },
                            "previousWorkingDay": {
                              "type": "string"
                            },
                            "reasons": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "shifted": {
                              "type": "string"
                            },
                            "state": {
                              "type": "string"
                            },
                            "weekday": {
                              "type": "string"
                            },
                            "working": {
                              "type": "boolean"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {},
          {
            "bearerKey": []
          },
          {
            "headerKey": []
          }
        ],
        "summary": "Is a date a working day",
        "tags": [
          "Working days"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://lookmetechnology.com"
    }
  ]
}