### Submit URL with Key Location Parameter Source: https://www.indexnow.org/documentation Use this method to specify the location of your key file when submitting a single URL via a GET request. Ensure the keyLocation parameter points to your hosted key file. ```http https:///indexnow?url=http://www.example.com/product.html&key=0f433c04997546aea1a01488e4b00978&keyLocation=http://www.example.com/myIndexNowKey63638.txt ``` -------------------------------- ### Submit a Single URL via HTTP GET Source: https://www.indexnow.org/documentation Use this URL format for submitting a single updated or deleted URL. Ensure the URL and key are correctly formatted and encoded. ```http https:///indexnow?url=url-changed&key=your-key ``` ```http https:///indexnow?url=https://www.example.com/product.html&key=0f433c04997546aea1a01488e4b00978 ``` -------------------------------- ### Submit a Single URL Source: https://www.indexnow.org/documentation Submit a single URL to a search engine using an HTTP GET request. This is useful for notifying search engines about individual URL changes. ```APIDOC ## Submit a Single URL ### Description Submit a single URL to a search engine using an HTTP GET request. This is useful for notifying search engines about individual URL changes. ### Method GET ### Endpoint `https:///indexnow?url=url-changed&key=your-key` ### Parameters #### Query Parameters - **url** (string) - Required - The URL of your website which has been added, updated, or deleted. URL must be URL-escaped and encoded according to RFC-3986. - **key** (string) - Required - Your API key, which should have a minimum of 8 and a maximum of 128 hexadecimal characters. Allowed characters are a-z, A-Z, 0-9, and dashes (-). ### Request Example `https:///indexnow?url=https://www.example.com/product.html&key=0f433c04997546aea1a01488e4b00978` ### Response #### Success Response (200) An HTTP 200 response code indicates that the search engine has received your URL. #### Error Response If a response other than 200 is received, verify that you are not submitting too often, that the key and URL are valid, and resubmit the request. ``` -------------------------------- ### Submit URLs with Key Location in JSON Source: https://www.indexnow.org/documentation When submitting multiple URLs, include the keyLocation in the JSON payload for POST requests. This method allows for batch submissions and requires the keyLocation to be a valid URL pointing to your key file. ```http **POST** /indexnow **HTTP**/1.1 Content-Type: application/json; charset=utf-8 Host: { "host": "www.example.com", "key": "0f433c04997546aea1a01488e4b00978", "keyLocation": "https://www.example.com/myIndexNowKey63638.txt", "urlList": [ "https://www.example.com/url1", "https://www.example.com/folder/url2", "https://www.example.com/url3" ] } ``` -------------------------------- ### Submit a Set of URLs Source: https://www.indexnow.org/documentation Submit a set of URLs using an HTTP POST request with a JSON payload. This method allows for batch submission of up to 10,000 URLs. ```APIDOC ## Submit a Set of URLs ### Description Submit a set of URLs using an HTTP POST request with a JSON payload. This method allows for batch submission of up to 10,000 URLs. ### Method POST ### Endpoint `//indexnow` ### Headers - **Content-Type**: `application/json; charset=utf-8` - **Host**: `` ### Request Body - **host** (string) - Required - The host name of the search engine. - **key** (string) - Required - Your API key, which should have a minimum of 8 and a maximum of 128 hexadecimal characters. Allowed characters are a-z, A-Z, 0-9, and dashes (-). - **urlList** (array of strings) - Required - A list of URLs to submit. Each URL must be URL-escaped and encoded according to RFC-3986. You can submit up to 10,000 URLs per post. ### Request Example ```json { "host": "www.example.com", "key": "0f433c04997546aea1a01488e4b00978", "urlList": [ "https://www.example.com/url1", "https://www.example.com/folder/url2", "https://www.example.com/url3" ] } ``` ### Response #### Success Response (200) An HTTP 200 response code indicates that the search engine has received your set of URLs. #### Error Response If a response other than 200 is received, verify your request and if everything looks fine, resubmit your request. ``` -------------------------------- ### Submit a Set of URLs via HTTP POST Source: https://www.indexnow.org/documentation Submit multiple URLs in a single POST request using a JSON payload. This method supports up to 10,000 URLs per request. ```http **POST** /indexnow **HTTP**/1.1 Content-Type: application/json; charset=utf-8 Host: { "host": "www.example.com", "key": "0f433c04997546aea1a01488e4b00978", "urlList": [ "https://www.example.com/url1", "https://www.example.com/folder/url2", "https://www.example.com/url3" ] } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.