← Docs

ASN Lookup API

A network organization and recorded country from its ASN.

Look up a network by its autonomous system number. Pass AS13335 or 13335. The response includes the numeric ASN, organization name, and recorded country.

Country describes the network record, not its footprint or an IP address location. An unknown ASN returns 404, malformed input returns 400, and missing fields in a known record are null.

Lookup

GET
api.parseapi.com/asn/{asn}
Network organization and recorded country
Explore
Parameters 3
asnstring · path · required

Autonomous system number with an optional AS prefix. Decimal notation only

deepboolean · query · optional

When true, adds deep: {}. No additional fields or charge

langstring · query · optional

Display language as one BCP 47 tag, such as fr or zh-Hant. Changes supported display labels only; IDs, codes, native names, facts, parsing and deep access stay unchanged. Omit for the original response. Unsupported regions use the supported language base; unsupported languages or scripts use English. Missing labels retain their source value. Accept-Language is not read automatically. Available on the current API contract; frozen 1.0.0 is unchanged.

Length: 2 to 64 characters

Run uses the free demo on API 2.0.0. Copied code uses your API key when signed in, or YOUR_API_KEY when signed out.

import { parseAPI } from '@parseapi/sdk';

const parse = parseAPI("YOUR_API_KEY");
const result = await parse.asn("AS13335");
console.log(result);

Run on your server with a secret key. Calling from a browser or app?

Example response
{
  "asn": 13335,
  "name": "Cloudflare, Inc.",
  "country": "US",
  "country_name": "United States"
}

Response fields

asninteger
Autonomous system number as an integer, without the AS prefix
namestring or null
Recorded network organization name, or null
countrystring or null
Recorded network country, ISO 3166-1 alpha-2, or null. This is not the network footprint or an IP location
country_namestring or null
Country name, or null

Use decimal notation, optionally prefixed with AS. Dotted ASDOT notation is unsupported. Each lookup uses one pooled request on every plan. ?deep=true adds deep: {} with no additional fields or charge.

Display language

Pass lang with a language tag such as fr, pt-BR, or zh-Hant. Existing country_name. ASN and organization names stay unchanged.

Omitting lang preserves the original response. Codes, IDs, numeric facts and native-name fields stay unchanged. Missing translations keep their existing source value; unknown values stay null. A preserved name_local may equal the translated name.

Send a chosen browser preference explicitly, for example { lang: navigator.language } in your JavaScript SDK options. The API does not read Accept-Language automatically. Unsupported regions fall back to their supported base language; unsupported languages or scripts use English. Empty, invalid or repeated tags return 400.

Content-Language identifies languages used in translated display fields and known English fallbacks. This option follows the current API contract. Requests selecting frozen 1.0.0 retain that contract. Select API 2.0.0 to use display language.

33 display language choices
Language tagLanguage
enEnglish
arالعربية
cacatalà
hrhrvatski
csčeština
dadansk
nlNederlands
fisuomi
frfrançais
deDeutsch
elΕλληνικά
heעברית
hiहिन्दी
humagyar
idIndonesia
ititaliano
ja日本語
ko한국어
msMelayu
nbnorsk bokmål
plpolski
ptportuguês
roromână
ruрусский
zh-Hans简体中文
skslovenčina
esespañol
svsvenska
thไทย
zh-Hant繁體中文
trTürkçe
ukукраїнська
viTiếng Việt

Questions? Email