IPGeolocation.io · Schema

Asn

Autonomous System Number details for the IP. Free plans receive `as_number`, `organization`, and `country` only. Paid plans also receive `type`, `domain`, `date_allocated`, and `rir`.

GeocodingIP GeolocationIP IntelligenceIP SecurityASN LookupAbuse ContactTimezoneAstronomyUser AgentThreat IntelligencePublic APIs

Properties

Name Type Description
as_number string AS number prefixed with `AS` (e.g. `AS1257`).
organization string Name of the organization that owns the ASN.
country string ISO 3166-1 alpha-2 country where the ASN is registered.
type string Organization type. Values: `ISP`, `HOSTING`, `BUSINESS`, `EDUCATION`, `GOVERNMENT`. Paid plans only.
domain string Primary domain of the ASN holder. Paid plans only.
date_allocated string Date when the ASN was allocated, in `YYYY-MM-DD` format (e.g. `2024-12-13`). Paid plans only.
rir string Regional Internet Registry (RIR) that allocated the ASN. Possible values include `RIPE`, `ARIN`, `APNIC`, `LACNIC`, `AFRINIC`, etc.
View JSON Schema on GitHub

JSON Schema

ip-location-asn-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ipgeolocation/refs/heads/main/json-schema/ip-location-asn-schema.json",
  "title": "Asn",
  "description": "Autonomous System Number details for the IP. Free plans receive `as_number`,\n`organization`, and `country` only. Paid plans also receive `type`, `domain`,\n`date_allocated`, and `rir`.\n",
  "type": "object",
  "properties": {
    "as_number": {
      "type": "string",
      "description": "AS number prefixed with `AS` (e.g. `AS1257`).",
      "example": "AS1257"
    },
    "organization": {
      "type": "string",
      "description": "Name of the organization that owns the ASN.",
      "example": "Tele2 Sverige AB"
    },
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country where the ASN is registered.",
      "example": "SE"
    },
    "type": {
      "type": "string",
      "description": "Organization type. Values: `ISP`, `HOSTING`, `BUSINESS`, `EDUCATION`,\n`GOVERNMENT`. Paid plans only.\n",
      "example": "ISP"
    },
    "domain": {
      "type": "string",
      "description": "Primary domain of the ASN holder. Paid plans only.",
      "example": "tele2.com"
    },
    "date_allocated": {
      "type": "string",
      "description": "Date when the ASN was allocated, in `YYYY-MM-DD` format (e.g.\n`2024-12-13`). Paid plans only.\n",
      "example": "2024-12-13"
    },
    "rir": {
      "type": "string",
      "description": "Regional Internet Registry (RIR) that allocated the ASN. Possible values include `RIPE`, `ARIN`, `APNIC`, `LACNIC`, `AFRINIC`, etc.\n",
      "example": "RIPE"
    }
  }
}