SubmitURLsToCrawl

Command status: Active
Supported by OpenApps API: Yes
Supported by Internal/Reseller API: Yes
Possibly queued processing: n/a

This function is available to submit Urls for crawling.

Calls to this function will result in usage of the following subscription resources:

Resource Description

AnalysisResUnits

50 per queried item

This function accepts the following parameters:

Parameter Description

cmd

Required: must be set to: SubmitURLsToCrawl

datasource

Optional - defaults to historic
Either: "fresh" - to query against fresh index, or "historic" - to query against historic index.

item0, item1, item2, item3 ... item999

All items can belong to URL, subdomain or root domain levels.
Up to 1000 items can be added


Example of query: https://api.majestic.com/api/xml?app_api_key=API_KEY&cmd=SubmitURLsToCrawl&item0=majestic.com&item1=majestic12.co.uk

Below you can see example of successful XML returned for this function:

The XML result shows the number of urls added, URLsAdded="2" in this example above.


https://api.majestic.com/api/json?app_api_key=API_KEY&cmd=SubmitURLsToCrawl&item0=majestic.com&item1=majestic12.co.uk

This produces the following JSON:

For more information about access to the Majestic API suite, visit our Plans & Pricing page.