API Documentation

Welcome to urlDNA api documentation.

Before start to using the APIs remeber to create a FREE account to get the API key. If you already have an account, please see your profile page to find out the API key.

Quota Limits

You can make up to 10 APIs request daily for search and show scan, but you can create unlimited new scan!

If you want increase your daily API quota limit, please contact us

User agents

Get list of all available user agents that you can use for your scan

Request

                
            

Response attributes

AttributeDescription
browserBrowser or operating system
deviceDESKTOP or MOBILE
shareUsage score
user_agentHTTP user agent

Response

                
            

Viewports

Get list of all available viewports that you can use for your scan

Request

                
            

Response attributes

AttributeDescription
deviceDESKTOP or MOBILE
widthScreen width
heightScreen height

Response

                
            

Scan

Get the scan object

Request

                
            

Response attributes

AttributeDescription
scanContains submitted attributes and URL attributes (domain, protocol etc)
certificateContains certificate information if the protocol is HTTPS
console_messagesList of all console messages
cookiesList of all cookies (name, value, and security)
domSource HTML from the page
faviconContains favicon information(hash, url to download etc)
http_transactionsList of all HTTP transaction
ip_addressContains all information about the IP address
maliciousIf present the URL may be malicious (BETA function)
pageContains meta tags, headers, and plain text
scan_detailsContains additional information about the scan
techonogliesContains the URL for downloading the screenshot image
technologiesList of all detected technologies

Response

                
            

New scan

Scan new URL.

When you submit a new scan it has been pushed into a tasks queue.

You have to grab the scan_id and use the GET scan API endpoint to see the scan status.

When the scan status is DONE it's ready to see all attributes.

This might take a few minutes, depending on system loads.

Request attributes

AttributeDescriptionRequiredDefault
urlURL to scan, it should contain HTTP or HTTPS protocolTrue
deviceDevice to use for scraping, DESKTOP or MOBILEFalseDESKTOP
user_agentMust be one of provided user agentsFalseMozilla/5.0 (Windows NT 10.0;Win64;x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36
widthScreen width, must be one of valid viewportsFalse1920
heightScreen height, must be one of valid viewportsFalse1080
waiting_timeSeconds to waitafter page is loaded, must be between 3 and 15False5
private_scanSet scan as private, only you can see the scanFalsefalse

Request

                
            

Response attributes

AttributeDescription
idScan ID
statusCurrent scan status, could be: PENDING, RUNNING, DONE or ERROR
submitted_dateDate of submission

Response

                
            

Search

You can run searches using free language text or using Custom Query Language, please see the info in the search navbar.

The results contain only a list of scans with essential attributes.

Request attributes

AttributeDescriptionRequiredDefault
queryQuery textTrue

Request

                
            

Response