{
  "info": {
    "contact": {
      "url": "https://syschecks.com"
    },
    "description": "Curl-first \"what's my IP\" API: IP, geo (GeoLite2), ASN, reverse DNS, request-header echo and a DNSBL blacklist check. CORS is enabled; add ?format=json or Accept: application/json to any endpoint. Built by systeam.pl, powered by syschecks.com.",
    "title": "ipcheck API",
    "version": "1.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Your IP — plain text for curl, HTML page in a browser",
        "tags": [
          "IP"
        ]
      }
    },
    "/all": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "All fields as key: value lines",
        "tags": [
          "Everything"
        ]
      }
    },
    "/all.json": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "All fields as JSON",
        "tags": [
          "Everything"
        ]
      }
    },
    "/asn": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Autonomous system number (GeoLite2)",
        "tags": [
          "Geolocation"
        ]
      }
    },
    "/charset": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Accept-Charset header",
        "tags": [
          "Request fields"
        ]
      }
    },
    "/city": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "City (GeoLite2)",
        "tags": [
          "Geolocation"
        ]
      }
    },
    "/country": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Country ISO code (GeoLite2)",
        "tags": [
          "Geolocation"
        ]
      }
    },
    "/encoding": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Accept-Encoding header",
        "tags": [
          "Request fields"
        ]
      }
    },
    "/forwarded": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "X-Forwarded-For header",
        "tags": [
          "Request fields"
        ]
      }
    },
    "/headers": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Echo the request headers",
        "tags": [
          "Request fields"
        ]
      }
    },
    "/healthz": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Liveness probe",
        "tags": [
          "Ops"
        ]
      }
    },
    "/host": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Reverse DNS (PTR)",
        "tags": [
          "Request fields"
        ]
      }
    },
    "/ip": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Your IP address, always plain text",
        "tags": [
          "IP"
        ]
      }
    },
    "/json": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Full info as JSON (CORS enabled)",
        "tags": [
          "Everything"
        ]
      }
    },
    "/lang": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Accept-Language header",
        "tags": [
          "Request fields"
        ]
      }
    },
    "/mime": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Accept header",
        "tags": [
          "Request fields"
        ]
      }
    },
    "/port": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Your source port",
        "tags": [
          "Request fields"
        ]
      }
    },
    "/rbl": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "DNSBL / blacklist status of your IP (IPv4)",
        "tags": [
          "Blacklist"
        ]
      }
    },
    "/referer": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Referer header",
        "tags": [
          "Request fields"
        ]
      }
    },
    "/type": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "IP type: residential | hosting | vpn | tor",
        "tags": [
          "Privacy"
        ]
      }
    },
    "/ua": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Your User-Agent",
        "tags": [
          "Request fields"
        ]
      }
    },
    "/via": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Via header",
        "tags": [
          "Request fields"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://ip.syschecks.com"
    }
  ],
  "tags": [
    {
      "name": "IP"
    },
    {
      "name": "Everything"
    },
    {
      "name": "Geolocation"
    },
    {
      "name": "Privacy"
    },
    {
      "name": "Blacklist"
    },
    {
      "name": "Request fields"
    },
    {
      "name": "Ops"
    }
  ]
}
