API Basics
★  Fundamentals
★  Error Codes
★  Examples
★  Specification
★  SDKs
Data Tools
Telephony
Geolocation
Security and Networking
E-commerce
Imaging

URL Info

Parse, analyze and retrieve content from the supplied URL.

Determine if a URL is well-formed and actually hosting real content. Determine many of the URLs properties such as its current HTTP status, content size, type, encoding and load time. You can also use this API to fetch the actual URL response data for further processing or storage.

End Point

https://neutrinoapi.com/url-info
Test API
API Request
ParameterRequiredTypeDefaultDescription
urlYesstringThe URL to probe
fetch-contentNobooleanfalseIf this URL responds with html, text, json or xml then return the response. This option is useful if you want to perform further processing on the URL content (e.g. with the HTML Extract or HTML Clean APIs)
API Response
ParameterTypeDescription
validbooleanIs this a valid well-formed URL
realbooleanIs this URL actually serving real content
http-okbooleanTrue if this URL responded with an HTTP OK (200) status
http-statusintegerThe HTTP status code this URL responded with
http-status-messageintegerThe HTTP status message assoicated with the status code
http-redirectbooleanTrue if this URL responded with an HTTP redirect
urlstringThe fully qualified URL. This may be different to the URL requested if http-redirect is true
url-protocolstringThe URL protocol, usually http or https
url-portintegerThe URL port
url-pathstringThe URL path
querymapA key-value map of the URL query paramaters
contentstringThe actual content this URL responded with. Only set if the 'fetch-content' option was used
content-sizeintegerThe size of the URL content in bytes
content-typestringThe content-type this URL serves
content-encodingstringThe encoding format the URL uses
load-timefloatThe time taken to load the URL content in seconds
server-ipstringThe IP address of the server hosting this URL
server-namestringThe name of the server software hosting this URL
server-countrystringThe servers IP geo-location: full country name
server-country-codestringThe servers IP geo-location: ISO 2-letter country code
server-citystringThe servers IP geo-location: full city name (if detectable)
server-regionstringThe servers IP geo-location: full region name (if detectable)
server-hostnamestringThe servers hostname (PTR record)

Free limit: 25/day