Censys · Schema

Location

Location schema from Censys Platform API

SecurityInternet IntelligenceAttack Surface ManagementThreat Huntingcyber-threat-intelligenceOSINTInternet ScanningCertificatesAsset Discovery

Properties

Name Type Description
city string The English name of the detected city.
continent string The English name of the detected continent (North America, Europe, Asia, South America, Africa, Oceania, Antarctica).
coordinates object The estimated coordinates of the detected location.
country string The English name of the detected country.
country_code string The detected two-letter ISO 3166-1 alpha-2 country code (US, CN, GB, RU, ...).
postal_code string The postal code (if applicable) of the detected location.
province string The state or province name of the detected location.
registered_country string The English name of the registered country.
registered_country_code string The registered country's two-letter ISO 3166-1 alpha-2 country code (US, CN, GB, RU, ...).
timezone string The IANA time zone database name of the detected location.
View JSON Schema on GitHub

JSON Schema

platform-location-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/censys/refs/heads/main/json-schema/platform-location-schema.json",
  "title": "Location",
  "description": "Location schema from Censys Platform API",
  "type": "object",
  "properties": {
    "city": {
      "description": "The English name of the detected city.",
      "type": "string"
    },
    "continent": {
      "description": "The English name of the detected continent (North America, Europe, Asia, South America, Africa, Oceania, Antarctica).",
      "type": "string"
    },
    "coordinates": {
      "$ref": "#/components/schemas/Coordinates",
      "description": "The estimated coordinates of the detected location."
    },
    "country": {
      "description": "The English name of the detected country.",
      "type": "string"
    },
    "country_code": {
      "description": "The detected two-letter ISO 3166-1 alpha-2 country code (US, CN, GB, RU, ...).",
      "type": "string"
    },
    "postal_code": {
      "description": "The postal code (if applicable) of the detected location.",
      "type": "string"
    },
    "province": {
      "description": "The state or province name of the detected location.",
      "type": "string"
    },
    "registered_country": {
      "description": "The English name of the registered country.",
      "type": "string"
    },
    "registered_country_code": {
      "description": "The registered country's two-letter ISO 3166-1 alpha-2 country code (US, CN, GB, RU, ...).",
      "type": "string"
    },
    "timezone": {
      "description": "The IANA time zone database name of the detected location.",
      "type": "string"
    }
  },
  "additionalProperties": false
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/platform-location"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.