OnPage API

This API is built to scan a website and provide detailed on-page data.

See docs Try for free

Benefits

Simple API

Our API is very simple. You don’t need to create projects, add websites or something else. Just pull us a website domain and our system will start scanning it immediately.

Predictable cost

With our API you will always know how much you’ll pay. Every task set to the OnPage API costs 0.25 credit per scanned page. No tricks.

Understandable stats

You’ll get access to your personal cabinet where you can see the API usage in real-time. Also, you can see the dynamics of API usage for the selected period.

Friendly support

We will assist you during the whole period of testing and integration. It can be Skype/Slack chat or email. As you wish.

Key features

scan
Scan all the pages of your website and get the most detailed analysis in a single array.
web-page-filter
Easily filter the on-page data results.
broken_link
Don’t miss a single broken link on the website.
duplicate
Get details of duplicate pages, inappropriate meta tags and SEO-friendliness of URL.

Calculate Your Costs

OnPage API costs 0,25 credit per 1 scanned page. You can calculate how much it will cost to scan your number of pages. If the number of pages crawled is fewer than the specified parameter crawl_max_pages, remaining credits will be refunded.

0 scanned pages
Cost
Of the selected number of requests to the Competitor data API
$ 0

Clear stats. Understandable charts. Your API usage under control.

In your personal cabinet you’ll get informative graphs where you can see all the stats of API usage. Also, you will be able to check your current balance and load funds there. All in one place.

Get started
Rank tracking API

OnPage API features

We know what you expect to get. And we have all features that will satisfy your needs.

Accuracy of crawling. The whole website will be scanned and none of the pages will be missed.

All on-page errors will be detected by our crawler.

Possibility to filter the received results most conveniently.

Try for free

Sample API response

Setting Tasks

  1. Request Sample:

  2. $post_array = array(
  3. "site" => "https://dataforseo.com",
  4. "crawl_max_pages" => 10
  5. );
  6. Response Sample:

  7. {
  8. "status":"ok",
  9. "results_time":"0.0594 sec.",
  10. "results_count":1,
  11. "results":[
  12. {
  13. "post_id":9999555,
  14. "post_site":"https:\/\/dataforseo.com",
  15. "task_id":210117392,
  16. "status":"ok"
  17. }
  18. ]
  19. }

Get Task Result Summary

https://api.dataforseo.com/v2/op_tasks_get/$task_id
  1. Request Sample:

  2. https://api.dataforseo.com/v2/op_tasks_get/210117392
  3. Response Sample:

  4. {
  5. "status": "ok",
  6. "results_time": "0.0399 sec.",
  7. "results_count": 1,
  8. "results": [
  9. {
  10. "post_id": "9999555",
  11. "post_site": "https:\/\/dataforseo.com",
  12. "task_id": 210117392,
  13. "string_search_containment": "the implementation",
  14. "crawl_max_pages": 4,
  15. "crawl_start": "2017-10-12 11:14:23.624803+03",
  16. "crawl_end": "2017-10-12 11:15:08.908063+03",
  17. "status": "crawled",
  18. "summary": [
  19. {
  20. "absent_doctype": 0,
  21. "absent_encoding_meta_tag": 0,
  22. "absent_h1_tags": 1,
  23. "canonical_another": 0,
  24. "canonical_recursive": 0,
  25. "cms": "powered by slider revolution 5.2.6 - responsive, mobile-friendly slider plugin for wordpress with comfortable drag and drop interface.",
  26. "compression_disabled": 0,
  27. "content_invalid_rate": 4,
  28. "content_invalid_size": 0,
  29. "content_readability_bad": 0,
  30. "crawl_end": "2017-10-12T14:30:09.809+00:00",
  31. "crawl_start": "2017-10-12T14:28:41.784+00:00",
  32. "deprecated_html_tags": 0,
  33. "domain": "dataforseo.com",
  34. "duplicate_meta_tags": 10,
  35. "duplicate_titles": 0,
  36. "favicon_invalid": 0,
  37. "have_robots": true,
  38. "have_sitemap": false,
  39. "images_invalid_alt": 6,
  40. "images_invalid_title": 10,
  41. "ip": "138.201.30.30",
  42. "links_broken": 0,
  43. "links_external": 48,
  44. "links_internal": 254,
  45. "meta_description_empty": 1,
  46. "meta_description_inappropriate": 0,
  47. "meta_keywords_empty": 10,
  48. "meta_keywords_inappropriate": 0,
  49. "pages_broken": 0,
  50. "pages_http": 0,
  51. "pages_https": 10,
  52. "pages_invalid_size": 0,
  53. "pages_non_www": 10,
  54. "pages_total": 10,
  55. "pages_with_flash": 0,
  56. "pages_with_frame": 0,
  57. "pages_with_lorem_ipsum": 0,
  58. "pages_www": 0,
  59. "response_code_1xx": 0,
  60. "response_code_2xx": 10,
  61. "response_code_3xx": 0,
  62. "response_code_4xx": 0,
  63. "response_code_5xx": 0,
  64. "response_code_other": 0,
  65. "seo_friendly_url": 10,
  66. "seo_non_friendly_url": 0,
  67. "server": "nginx\/1.10.1 (Ubuntu)",
  68. "ssl": true,
  69. "ssl_certificate_expiration": "2018-10-31T23:59:59+00:00",
  70. "ssl_certificate_hash_algorithm": "sha256RSA",
  71. "ssl_certificate_issuer": "CN=COMODO RSA Domain Validation Secure Server CA, O=COMODO CA Limited, L=Salford, S=Greater Manchester, C=GB",
  72. "ssl_certificate_subject": "CN=dataforseo.com, OU=GGSSL Domain SSL, OU=Domain Control Validated",
  73. "ssl_certificate_valid": true,
  74. "ssl_certificate_x509_version": 3,
  75. "test_canonicalization": 301,
  76. "test_directory_browsing": false,
  77. "test_server_signature": true,
  78. "test_trash_page": 404,
  79. "time_load_high": 0,
  80. "time_waiting_high": 0,
  81. "title_duplicate_tag": 0,
  82. "title_empty": 0,
  83. "title_inappropriate": 0,
  84. "title_long": 5,
  85. "title_short": 2,
  86. "www": false
  87. }
  88. ]
  89. }
  90. ]
  91. }

Get Pages

https://api.dataforseo.com/v2/op_tasks_get_pages/$task_id/$limit/$offset
  1. Request Sample:

  2. https://api.dataforseo.com/v2/op_tasks_get_pages/210117392/2/3
  3. Response Sample:

  4. {
  5. "status": "ok",
  6. "results_time": "0.0536 sec.",
  7. "results_count": 2,
  8. "results": [
  9. {
  10. "post_id": "9999555",
  11. "post_site": "https:\/\/dataforseo.com",
  12. "task_id": 210117392,
  13. "string_search_containment": "the implementation",
  14. "crawl_max_pages": 4,
  15. "crawl_start": "2017-10-12 11:14:23.624803+03",
  16. "crawl_end": "2017-10-12 11:15:08.908063+03",
  17. "status": "crawled",
  18. "pages": [
  19. {
  20. "address_full": "https:\/\/dataforseo.com\/apis\/keyword-data-api",
  21. "address_relative": "\/apis\/keyword-data-api",
  22. "canonical_another": false,
  23. "canonical_page": "\/apis\/keyword-data-api",
  24. "canonical_page_recursive": "",
  25. "content_charset": 65001,
  26. "content_count_words": 272,
  27. "content_encoding": "gzip",
  28. "content_readability_ari": 6.83336735,
  29. "content_readability_coleman_liau": 8.622298,
  30. "content_readability_dale_chall": 6.994632,
  31. "content_readability_flesh_kincaid": 60.8996773,
  32. "content_readability_smog": 16.63898,
  33. "crawl_depth": 1,
  34. "crawl_end": "2017-10-12T14:29:21+00:00",
  35. "crawled": true,
  36. "deprecated_html_tags": [],
  37. "duplicate_meta_tags": [
  38. "generator"
  39. ],
  40. "favicon": "\/wp-content\/uploads\/2016\/11\/cropped-Favicon_512-180x180.png",
  41. "h1_count": 1,
  42. "h2_count": 8,
  43. "h3_count": 1,
  44. "have_deprecated_tags": false,
  45. "have_doctype": true,
  46. "have_enc_meta_tag": true,
  47. "have_flash": false,
  48. "have_frame": false,
  49. "have_lorem_ipsum": false,
  50. "have_meta_description_duplicates": false,
  51. "have_page_duplicates": false,
  52. "have_recursive_canonical": false,
  53. "have_title_duplicates": false,
  54. "images_count": 18,
  55. "images_invalid_alt": 5,
  56. "images_invalid_title": 13,
  57. "links_broken": 0,
  58. "links_external": 5,
  59. "links_internal": 23,
  60. "links_referring": 11,
  61. "meta_description": "DataForSEO Keywords Data API вћ¤вћ¤вћ¤ Google AdWords Keyword Research Tool and Planner API Great Speed, Clear Stats, Simple Pricing. Try for free now!",
  62. "meta_description_consistency": 0.952380955,
  63. "meta_description_length": 153,
  64. "meta_keywords": "",
  65. "meta_keywords_consistency": -1,
  66. "page_allowed": true,
  67. "page_redirect": null,
  68. "page_size": 78088,
  69. "plain_text_rate": 0.11560294,
  70. "plain_text_size": 9022,
  71. "response_code": 200,
  72. "seo_friendly_url": true,
  73. "seo_friendly_url_characters_check": true,
  74. "seo_friendly_url_dynamic_check": true,
  75. "seo_friendly_url_keywords_check": true,
  76. "seo_friendly_url_relative_length_check": true,
  77. "ssl": true,
  78. "ssl_handshake_time": 1,
  79. "time_connection": 0,
  80. "time_download": 0,
  81. "time_sending_request": 0,
  82. "time_total_load": 190,
  83. "time_waiting": 189,
  84. "title": "Google Adwords keyword research tool and planner API. Keywords search volume tools API for SEO.",
  85. "title_consistency": 1,
  86. "title_duplicate_tag": false,
  87. "title_length": 98,
  88. "www": false
  89. },
  90. {
  91. "address_full": "https:\/\/dataforseo.com\/apis\/on-page-api",
  92. "address_relative": "\/apis\/on-page-api",
  93. "canonical_another": false,
  94. "canonical_page": "\/apis\/on-page-api",
  95. "canonical_page_recursive": "",
  96. "content_charset": 65001,
  97. "content_count_words": 196,
  98. "content_encoding": "gzip",
  99. "content_readability_ari": 5.194442,
  100. "content_readability_coleman_liau": 7.779008,
  101. "content_readability_dale_chall": 6.74280262,
  102. "content_readability_flesh_kincaid": 65.07316,
  103. "content_readability_smog": 15.1282673,
  104. "crawl_depth": 1,
  105. "crawl_end": "2017-10-12T14:29:37+00:00",
  106. "crawled": true,
  107. "deprecated_html_tags": [],
  108. "duplicate_meta_tags": [
  109. "generator"
  110. ],
  111. "favicon": "\/wp-content\/uploads\/2016\/11\/cropped-Favicon_512-180x180.png",
  112. "h1_count": 1,
  113. "h2_count": 5,
  114. "h3_count": 1,
  115. "have_deprecated_tags": false,
  116. "have_doctype": true,
  117. "have_enc_meta_tag": true,
  118. "have_flash": false,
  119. "have_frame": false,
  120. "have_lorem_ipsum": false,
  121. "have_meta_description_duplicates": false,
  122. "have_page_duplicates": false,
  123. "have_recursive_canonical": false,
  124. "have_title_duplicates": false,
  125. "images_count": 14,
  126. "images_invalid_alt": 1,
  127. "images_invalid_title": 9,
  128. "links_broken": 0,
  129. "links_external": 5,
  130. "links_internal": 23,
  131. "links_referring": 11,
  132. "meta_description": "DataForSEO OnPage API",
  133. "meta_description_consistency": 1,
  134. "meta_description_length": 25,
  135. "meta_keywords": "",
  136. "meta_keywords_consistency": -1,
  137. "page_allowed": true,
  138. "page_redirect": null,
  139. "page_size": 64189,
  140. "plain_text_rate": 0.09184135,
  141. "plain_text_size": 5893,
  142. "response_code": 200,
  143. "seo_friendly_url": true,
  144. "seo_friendly_url_characters_check": true,
  145. "seo_friendly_url_dynamic_check": true,
  146. "seo_friendly_url_keywords_check": true,
  147. "seo_friendly_url_relative_length_check": true,
  148. "ssl": true,
  149. "ssl_handshake_time": 1,
  150. "time_connection": 0,
  151. "time_download": 0,
  152. "time_sending_request": 0,
  153. "time_total_load": 184,
  154. "time_waiting": 183,
  155. "title": "OnPage crawler API",
  156. "title_consistency": 1,
  157. "title_duplicate_tag": false,
  158. "title_length": 18,
  159. "www": false
  160. }
  161. ]
  162. }
  163. ]
  164. }

Get Filtered Pages

  1. Request Sample:

  2. $post_array = array(
  3. "task_id" => 210117392,
  4. "filters" => array(
  5. array("h1_count", ">", 0),
  6. array("content_count_words", "<", 200)
  7. )
  8. );
  9. Response Sample:

  10. {
  11. "status": "ok",
  12. "results_time": "0.1753 sec.",
  13. "results_count": 5,
  14. "results": [
  15. {
  16. "post_id": "9999555",
  17. "post_site": "https:\/\/dataforseo.com",
  18. "task_id": 210117392,
  19. "string_search_containment": "the implementation",
  20. "crawl_max_pages": 10,
  21. "crawl_start": "2017-10-12 11:14:23.624803+03",
  22. "crawl_end": "2017-10-12 11:15:08.908063+03",
  23. "status": "crawled",
  24. "pages": [
  25. {
  26. "address_full": "https:\/\/dataforseo.com\/apis",
  27. "address_relative": "\/apis",
  28. "canonical_another": false,
  29. "canonical_page": "\/apis",
  30. "canonical_page_recursive": "",
  31. "content_charset": 65001,
  32. "content_count_words": 158,
  33. "content_encoding": "gzip",
  34. "content_readability_ari": 8.930869,
  35. "content_readability_coleman_liau": 9.15987,
  36. "content_readability_dale_chall": 7.15311575,
  37. "content_readability_flesh_kincaid": 58.161808,
  38. "content_readability_smog": 18.43294,
  39. "crawl_depth": 1,
  40. "crawl_end": "2017-10-12T14:28:57+00:00",
  41. "crawled": true,
  42. "deprecated_html_tags": [],
  43. "duplicate_meta_tags": [
  44. "generator"
  45. ],
  46. "favicon": "\/wp-content\/uploads\/2016\/11\/cropped-Favicon_512-180x180.png",
  47. "h1_count": 1,
  48. "h2_count": 0,
  49. "h3_count": 5,
  50. "have_deprecated_tags": false,
  51. "have_doctype": true,
  52. "have_enc_meta_tag": true,
  53. "have_flash": false,
  54. "have_frame": false,
  55. "have_lorem_ipsum": false,
  56. "have_meta_description_duplicates": false,
  57. "have_page_duplicates": false,
  58. "have_recursive_canonical": false,
  59. "have_title_duplicates": false,
  60. "images_count": 14,
  61. "images_invalid_alt": 0,
  62. "images_invalid_title": 14,
  63. "links_broken": 0,
  64. "links_external": 3,
  65. "links_internal": 28,
  66. "links_referring": 11,
  67. "meta_description": "DataForSEO \u27a4\u27a4\u27a4 Our APIs",
  68. "meta_description_consistency": 0.6666667,
  69. "meta_description_length": 23,
  70. "meta_keywords": "",
  71. "meta_keywords_consistency": -1,
  72. "page_allowed": true,
  73. "page_redirect": null,
  74. "page_size": 69089,
  75. "plain_text_rate": 0.08091908,
  76. "plain_text_size": 5589,
  77. "response_code": 200,
  78. "seo_friendly_url": true,
  79. "seo_friendly_url_characters_check": true,
  80. "seo_friendly_url_dynamic_check": true,
  81. "seo_friendly_url_keywords_check": true,
  82. "seo_friendly_url_relative_length_check": true,
  83. "ssl": true,
  84. "ssl_handshake_time": 1,
  85. "time_connection": 0,
  86. "time_download": 0,
  87. "time_sending_request": 0,
  88. "time_total_load": 159,
  89. "time_waiting": 158,
  90. "title": "APIs | API for SEO-software companies and agencies",
  91. "title_consistency": 0.625,
  92. "title_duplicate_tag": false,
  93. "title_length": 50,
  94. "www": false
  95. },
  96. {
  97. "address_full": "https:\/\/dataforseo.com\/apis\/competitor-api",
  98. "address_relative": "\/apis\/competitor-api",
  99. "canonical_another": false,
  100. "canonical_page": "\/apis\/competitor-api",
  101. "canonical_page_recursive": "",
  102. "content_charset": 65001,
  103. "content_count_words": 181,
  104. "content_encoding": "gzip",
  105. "content_readability_ari": 5.31850863,
  106. "content_readability_coleman_liau": 8.000113,
  107. "content_readability_dale_chall": 6.910729,
  108. "content_readability_flesh_kincaid": 64.0442352,
  109. "content_readability_smog": 15.205513,
  110. "crawl_depth": 1,
  111. "crawl_end": "2017-10-12T14:29:29+00:00",
  112. "crawled": true,
  113. "deprecated_html_tags": [],
  114. "duplicate_meta_tags": [
  115. "generator"
  116. ],
  117. "favicon": "\/wp-content\/uploads\/2016\/11\/cropped-Favicon_512-180x180.png",
  118. "h1_count": 1,
  119. "h2_count": 5,
  120. "h3_count": 1,
  121. "have_deprecated_tags": false,
  122. "have_doctype": true,
  123. "have_enc_meta_tag": true,
  124. "have_flash": false,
  125. "have_frame": false,
  126. "have_lorem_ipsum": false,
  127. "have_meta_description_duplicates": false,
  128. "have_page_duplicates": false,
  129. "have_recursive_canonical": false,
  130. "have_title_duplicates": false,
  131. "images_count": 14,
  132. "images_invalid_alt": 1,
  133. "images_invalid_title": 9,
  134. "links_broken": 0,
  135. "links_external": 5,
  136. "links_internal": 23,
  137. "links_referring": 11,
  138. "meta_description": "DataForSEO \u27a4\u27a4\u27a4 Competitor data API \u27a4\u27a4\u27a4 Traffic, traffic sources information \u2713\u2713\u2713 Great Speed, Clear Stats, Simple Pricing. Try for free now!",
  139. "meta_description_consistency": 0.7647059,
  140. "meta_description_length": 139,
  141. "meta_keywords": "",
  142. "meta_keywords_consistency": -1,
  143. "page_allowed": true,
  144. "page_redirect": null,
  145. "page_size": 65424,
  146. "plain_text_rate": 0.08889127,
  147. "plain_text_size": 5811,
  148. "response_code": 200,
  149. "seo_friendly_url": true,
  150. "seo_friendly_url_characters_check": true,
  151. "seo_friendly_url_dynamic_check": true,
  152. "seo_friendly_url_keywords_check": true,
  153. "seo_friendly_url_relative_length_check": true,
  154. "ssl": true,
  155. "ssl_handshake_time": 1,
  156. "time_connection": 0,
  157. "time_download": 0,
  158. "time_sending_request": 0,
  159. "time_total_load": 174,
  160. "time_waiting": 173,
  161. "title": "Competitor data API \u24f4\u24f1 Get information about traffic and its sources via API.",
  162. "title_consistency": 0.909090936,
  163. "title_duplicate_tag": false,
  164. "title_length": 77,
  165. "www": false
  166. },
  167. {
  168. "address_full": "https:\/\/dataforseo.com\/apis\/on-page-api",
  169. "address_relative": "\/apis\/on-page-api",
  170. "canonical_another": false,
  171. "canonical_page": "\/apis\/on-page-api",
  172. "canonical_page_recursive": "",
  173. "content_charset": 65001,
  174. "content_count_words": 196,
  175. "content_encoding": "gzip",
  176. "content_readability_ari": 5.194442,
  177. "content_readability_coleman_liau": 7.779008,
  178. "content_readability_dale_chall": 6.74280262,
  179. "content_readability_flesh_kincaid": 65.07316,
  180. "content_readability_smog": 15.1282673,
  181. "crawl_depth": 1,
  182. "crawl_end": "2017-10-12T14:29:37+00:00",
  183. "crawled": true,
  184. "deprecated_html_tags": [],
  185. "duplicate_meta_tags": [
  186. "generator"
  187. ],
  188. "favicon": "\/wp-content\/uploads\/2016\/11\/cropped-Favicon_512-180x180.png",
  189. "h1_count": 1,
  190. "h2_count": 5,
  191. "h3_count": 1,
  192. "have_deprecated_tags": false,
  193. "have_doctype": true,
  194. "have_enc_meta_tag": true,
  195. "have_flash": false,
  196. "have_frame": false,
  197. "have_lorem_ipsum": false,
  198. "have_meta_description_duplicates": false,
  199. "have_page_duplicates": false,
  200. "have_recursive_canonical": false,
  201. "have_title_duplicates": false,
  202. "images_count": 14,
  203. "images_invalid_alt": 1,
  204. "images_invalid_title": 9,
  205. "links_broken": 0,
  206. "links_external": 5,
  207. "links_internal": 23,
  208. "links_referring": 11,
  209. "meta_description": "DataForSEO \u27a4\u27a4\u27a4 OnPage API",
  210. "meta_description_consistency": 1,
  211. "meta_description_length": 25,
  212. "meta_keywords": "",
  213. "meta_keywords_consistency": -1,
  214. "page_allowed": true,
  215. "page_redirect": null,
  216. "page_size": 64189,
  217. "plain_text_rate": 0.09184135,
  218. "plain_text_size": 5893,
  219. "response_code": 200,
  220. "seo_friendly_url": true,
  221. "seo_friendly_url_characters_check": true,
  222. "seo_friendly_url_dynamic_check": true,
  223. "seo_friendly_url_keywords_check": true,
  224. "seo_friendly_url_relative_length_check": true,
  225. "ssl": true,
  226. "ssl_handshake_time": 1,
  227. "time_connection": 0,
  228. "time_download": 0,
  229. "time_sending_request": 0,
  230. "time_total_load": 184,
  231. "time_waiting": 183,
  232. "title": "OnPage crawler API",
  233. "title_consistency": 1,
  234. "title_duplicate_tag": false,
  235. "title_length": 18,
  236. "www": false
  237. },
  238. {
  239. "address_full": "https:\/\/dataforseo.com\/blog",
  240. "address_relative": "\/blog",
  241. "canonical_another": false,
  242. "canonical_page": "\/blog",
  243. "canonical_page_recursive": "",
  244. "content_charset": 65001,
  245. "content_count_words": 105,
  246. "content_encoding": "gzip",
  247. "content_readability_ari": 10.1230793,
  248. "content_readability_coleman_liau": 10.018074,
  249. "content_readability_dale_chall": 7.740423,
  250. "content_readability_flesh_kincaid": 52.1409531,
  251. "content_readability_smog": 19.5731926,
  252. "crawl_depth": 1,
  253. "crawl_end": "2017-10-12T14:30:01+00:00",
  254. "crawled": true,
  255. "deprecated_html_tags": [],
  256. "duplicate_meta_tags": [
  257. "generator"
  258. ],
  259. "favicon": "\/wp-content\/uploads\/2016\/11\/cropped-Favicon_512-180x180.png",
  260. "h1_count": 1,
  261. "h2_count": 3,
  262. "h3_count": 0,
  263. "have_deprecated_tags": false,
  264. "have_doctype": true,
  265. "have_enc_meta_tag": true,
  266. "have_flash": false,
  267. "have_frame": false,
  268. "have_lorem_ipsum": false,
  269. "have_meta_description_duplicates": false,
  270. "have_page_duplicates": false,
  271. "have_recursive_canonical": false,
  272. "have_title_duplicates": false,
  273. "images_count": 8,
  274. "images_invalid_alt": 0,
  275. "images_invalid_title": 8,
  276. "links_broken": 0,
  277. "links_external": 3,
  278. "links_internal": 31,
  279. "links_referring": 11,
  280. "meta_description": "",
  281. "meta_description_consistency": -1,
  282. "meta_description_length": 0,
  283. "meta_keywords": "",
  284. "meta_keywords_consistency": -1,
  285. "page_allowed": true,
  286. "page_redirect": null,
  287. "page_size": 45620,
  288. "plain_text_rate": 0.0767679438,
  289. "plain_text_size": 3502,
  290. "response_code": 200,
  291. "seo_friendly_url": true,
  292. "seo_friendly_url_characters_check": true,
  293. "seo_friendly_url_dynamic_check": true,
  294. "seo_friendly_url_keywords_check": true,
  295. "seo_friendly_url_relative_length_check": true,
  296. "ssl": true,
  297. "ssl_handshake_time": 1,
  298. "time_connection": 0,
  299. "time_download": 1,
  300. "time_sending_request": 0,
  301. "time_total_load": 164,
  302. "time_waiting": 162,
  303. "title": "Blog | API for SEO-software companies and agencies",
  304. "title_consistency": 0.75,
  305. "title_duplicate_tag": false,
  306. "title_length": 50,
  307. "www": false
  308. },
  309. {
  310. "address_full": "https:\/\/dataforseo.com\/pricing",
  311. "address_relative": "\/pricing",
  312. "canonical_another": false,
  313. "canonical_page": "\/pricing",
  314. "canonical_page_recursive": "",
  315. "content_charset": 65001,
  316. "content_count_words": 147,
  317. "content_encoding": "gzip",
  318. "content_readability_ari": 8.850125,
  319. "content_readability_coleman_liau": 9.298868,
  320. "content_readability_dale_chall": 7.281644,
  321. "content_readability_flesh_kincaid": 62.1820755,
  322. "content_readability_smog": 18.4224815,
  323. "crawl_depth": 1,
  324. "crawl_end": "2017-10-12T14:29:45+00:00",
  325. "crawled": true,
  326. "deprecated_html_tags": [],
  327. "duplicate_meta_tags": [
  328. "generator"
  329. ],
  330. "favicon": "\/wp-content\/uploads\/2016\/11\/cropped-Favicon_512-180x180.png",
  331. "h1_count": 1,
  332. "h2_count": 3,
  333. "h3_count": 0,
  334. "have_deprecated_tags": false,
  335. "have_doctype": true,
  336. "have_enc_meta_tag": true,
  337. "have_flash": false,
  338. "have_frame": false,
  339. "have_lorem_ipsum": false,
  340. "have_meta_description_duplicates": false,
  341. "have_page_duplicates": false,
  342. "have_recursive_canonical": false,
  343. "have_title_duplicates": false,
  344. "images_count": 9,
  345. "images_invalid_alt": 0,
  346. "images_invalid_title": 9,
  347. "links_broken": 0,
  348. "links_external": 4,
  349. "links_internal": 23,
  350. "links_referring": 11,
  351. "meta_description": "DataForSEO \u27a4\u27a4\u27a4 SEO API Pricing",
  352. "meta_description_consistency": 0.75,
  353. "meta_description_length": 30,
  354. "meta_keywords": "",
  355. "meta_keywords_consistency": -1,
  356. "page_allowed": true,
  357. "page_redirect": null,
  358. "page_size": 54300,
  359. "plain_text_rate": 0.116803922,
  360. "plain_text_size": 6340,
  361. "response_code": 200,
  362. "seo_friendly_url": true,
  363. "seo_friendly_url_characters_check": true,
  364. "seo_friendly_url_dynamic_check": true,
  365. "seo_friendly_url_keywords_check": true,
  366. "seo_friendly_url_relative_length_check": true,
  367. "ssl": true,
  368. "ssl_handshake_time": 1,
  369. "time_connection": 0,
  370. "time_download": 0,
  371. "time_sending_request": 0,
  372. "time_total_load": 174,
  373. "time_waiting": 173,
  374. "title": "SEO-data API pricing",
  375. "title_consistency": 0.75,
  376. "title_duplicate_tag": false,
  377. "title_length": 20,
  378. "www": false
  379. }
  380. ]
  381. }
  382. ]

Get Broken Pages

https://api.dataforseo.com/v2/op_tasks_get_broken_pages/$task_id/$limit/$offset
  1. Request Sample:

  2. https://api.dataforseo.com/v2/op_tasks_get_broken_pages/130491671
  3. Response Sample:

  4. {
  5. "status": "ok",
  6. "results_time": "0.0675 sec.",
  7. "results_count": 1,
  8. "results": [
  9. {
  10. "post_id": "9999555",
  11. "post_site": "ranksonic.com",
  12. "task_id": 130491671,
  13. "string_search_containment": "the implementation",
  14. "crawl_max_pages": 10,
  15. "crawl_start": "2017-10-12 11:14:23.624803+03",
  16. "crawl_end": "2017-10-12 11:15:08.908063+03",
  17. "status": "crawled",
  18. "broken_pages": [
  19. {
  20. "address_full": "https:\/\/ranksonic.com\/features-common.html",
  21. "address_relative": "\/features-common.html",
  22. "canonical_another": false,
  23. "canonical_page": null,
  24. "canonical_page_recursive": "",
  25. "content_charset": 0,
  26. "content_count_words": 0,
  27. "content_encoding": "none",
  28. "content_readability_ari": 0,
  29. "content_readability_coleman_liau": 0,
  30. "content_readability_dale_chall": 0,
  31. "content_readability_flesh_kincaid": 0,
  32. "content_readability_smog": 0,
  33. "crawl_depth": 2,
  34. "crawl_end": "2017-08-14T14:09:36+00:00",
  35. "crawled": true,
  36. "deprecated_html_tags": [],
  37. "duplicate_meta_tags": [],
  38. "favicon": "",
  39. "h1_count": 0,
  40. "h2_count": 0,
  41. "h3_count": 0,
  42. "have_deprecated_tags": false,
  43. "have_doctype": false,
  44. "have_enc_meta_tag": false,
  45. "have_flash": false,
  46. "have_frame": false,
  47. "have_lorem_ipsum": false,
  48. "have_meta_description_duplicates": false,
  49. "have_page_duplicates": false,
  50. "have_recursive_canonical": false,
  51. "have_title_duplicates": false,
  52. "images_count": 0,
  53. "images_invalid_alt": 0,
  54. "images_invalid_title": 0,
  55. "links_broken": 0,
  56. "links_external": 0,
  57. "links_internal": 0,
  58. "links_referring": 14,
  59. "meta_description": null,
  60. "meta_description_consistency": 0,
  61. "meta_description_length": 0,
  62. "meta_keywords": "",
  63. "meta_keywords_consistency": 0,
  64. "page_allowed": true,
  65. "page_redirect": null,
  66. "page_size": 0,
  67. "plain_text_rate": 0,
  68. "plain_text_size": 0,
  69. "response_code": 404,
  70. "seo_friendly_url": false,
  71. "seo_friendly_url_characters_check": false,
  72. "seo_friendly_url_dynamic_check": false,
  73. "seo_friendly_url_keywords_check": false,
  74. "seo_friendly_url_relative_length_check": false,
  75. "ssl": false,
  76. "ssl_handshake_time": 0,
  77. "time_connection": 35,
  78. "time_download": 0,
  79. "time_total_load": 461,
  80. "time_sending_request": 0,
  81. "time_waiting": 426,
  82. "title": null,
  83. "title_consistency": 0,
  84. "title_length": 0,
  85. "www": false
  86. }
  87. ]
  88. }
  89. ]
  90. }

Get Duplicate Pages

https://api.dataforseo.com/v2/op_tasks_get_duplicates/$task_id/$duplicate_type/$limit/$offset
  1. Request Sample:

  2. https://api.dataforseo.com/v2/op_tasks_get_duplicates/136371534
  3. Response Sample:

  4. {
  5. "status": "ok",
  6. "results_time": "0.1450 sec.",
  7. "results_count": 21,
  8. "results": [
  9. {
  10. "post_id": "9999555",
  11. "post_site": "alpinen-gold.com",
  12. "task_id": 136371534,
  13. "string_search_containment": null,
  14. "crawl_max_pages": 100,
  15. "crawl_start": "2017-10-12 11:14:23.624803+03",
  16. "crawl_end": "2017-10-12 11:15:08.908063+03",
  17. "status": "crawled",
  18. "duplicates": [
  19. {
  20. "accumulator": "ALPINEN GOLD - Letter D (котята мейн кун и щенки сенбернара)",
  21. "pages": [
  22. {
  23. "accumulator": "ALPINEN GOLD - Letter D (котята мейн кун и щенки сенбернара)",
  24. "address_full": "http:\/\/alpinen-gold.com\/kotyata\/letter-d\/",
  25. "address_relative": "\/kotyata\/letter-d\/",
  26. "canonical_another": false,
  27. "canonical_page": "\/kotyata\/letter-d\/",
  28. "canonical_page_recursive": "",
  29. "content_charset": 65001,
  30. "content_count_words": 68,
  31. "content_encoding": "gzip",
  32. "content_readability_ari": 6.24265766,
  33. "content_readability_coleman_liau": 2.14972973,
  34. "content_readability_dale_chall": 4.42414236,
  35. "content_readability_flesh_kincaid": 66.9806747,
  36. "content_readability_smog": 15.9031887,
  37. "crawl_depth": 2,
  38. "crawl_end": "2017-08-14T14:32:24+00:00",
  39. "crawled": true,
  40. "deprecated_html_tags": [],
  41. "duplicate_meta_tags": [],
  42. "favicon": "\/wp-content\/themes\/theme1760\/favicon.ico",
  43. "h1_count": 1,
  44. "h2_count": 1,
  45. "h3_count": 2,
  46. "have_deprecated_tags": false,
  47. "have_doctype": true,
  48. "have_enc_meta_tag": true,
  49. "have_flash": false,
  50. "have_frame": false,
  51. "have_lorem_ipsum": false,
  52. "have_meta_description_duplicates": false,
  53. "have_page_duplicates": false,
  54. "have_recursive_canonical": false,
  55. "have_title_duplicates": false,
  56. "images_count": 2,
  57. "images_invalid_alt": 0,
  58. "images_invalid_title": 0,
  59. "links_broken": 0,
  60. "links_external": 3,
  61. "links_internal": 35,
  62. "links_referring": 0,
  63. "meta_description": "» Letter D | Питомник ALPINEN GOLD",
  64. "meta_description_consistency": 0,
  65. "meta_description_length": 34,
  66. "meta_keywords": "",
  67. "meta_keywords_consistency": 0,
  68. "page_allowed": true,
  69. "page_redirect": null,
  70. "page_size": 25476,
  71. "plain_text_rate": 0.07878837,
  72. "plain_text_size": 1956,
  73. "response_code": 200,
  74. "seo_friendly_url": false,
  75. "seo_friendly_url_characters_check": false,
  76. "seo_friendly_url_dynamic_check": false,
  77. "seo_friendly_url_keywords_check": false,
  78. "seo_friendly_url_relative_length_check": false,
  79. "ssl": false,
  80. "ssl_handshake_time": 0,
  81. "time_connection": 35,
  82. "time_download": 1,
  83. "time_total_load": 1069,
  84. "time_sending_request": 0,
  85. "time_waiting": 1033,
  86. "title": "ALPINEN GOLD - Letter D (котята мейн кун и щенки сенбернара)",
  87. "title_consistency": 0,
  88. "title_length": 60,
  89. "www": false
  90. }
  91. ]
  92. }
  93. ]
  94. }
  95. ]
  96. }

Get Links To Page

https://api.dataforseo.com/v2/op_tasks_get_links_from/$task_id/$page/$limit/$offset
  1. Request Sample:

  2. https://api.dataforseo.com/v2/op_tasks_get_links_from/136371534/'/relative/page/on/site.html'
  3. Response Sample:

  4. {
  5. "status": "ok",
  6. "results_time": "0.0741 sec.",
  7. "results_count": 14,
  8. "results": [
  9. {
  10. "post_id": "9999555",
  11. "post_site": "alpinen-gold.com",
  12. "task_id": 136371534,
  13. "string_search_containment": null,
  14. "crawl_max_pages": 100,
  15. "crawl_start": "2017-10-12 11:14:23.624803+03",
  16. "crawl_end": "2017-10-12 11:15:08.908063+03",
  17. "status": "crawled",
  18. "links_to": [
  19. {
  20. "alt": "DAIQUIRI - DSC_0081",
  21. "anchor": "",
  22. "link_from": "http:\/\/alpinen-gold.com\/2014\/05\/",
  23. "link_to": "http:\/\/alpinen-gold.com\/kotyata\/letter-d\/",
  24. "nofollow": false,
  25. "page_from": "\/2014\/05\/",
  26. "page_to": "\/kotyata\/letter-d\/",
  27. "relative": true,
  28. "ssl_from_use": false,
  29. "ssl_to_use": false,
  30. "state": "alive",
  31. "text_post": "",
  32. "text_pre": "",
  33. "type": "image",
  34. "www_from_use": false,
  35. "www_to_use": false
  36. },
  37. {
  38. "alt": null,
  39. "anchor": "...",
  40. "link_from": "http:\/\/alpinen-gold.com\/2014\/05\/",
  41. "link_to": "http:\/\/alpinen-gold.com\/kotyata\/letter-d\/",
  42. "nofollow": false,
  43. "page_from": "\/2014\/05\/",
  44. "page_to": "\/kotyata\/letter-d\/",
  45. "relative": true,
  46. "ssl_from_use": false,
  47. "ssl_to_use": false,
  48. "state": "alive",
  49. "text_post": "",
  50. "text_pre": ".",
  51. "type": "href",
  52. "www_from_use": false,
  53. "www_to_use": false
  54. },
  55. .
  56. .
  57. .
  58. {
  59. "alt": null,
  60. "anchor": null,
  61. "link_from": "http:\/\/alpinen-gold.com\/kotyata\/letter-d\/",
  62. "link_to": "http:\/\/alpinen-gold.com\/kotyata\/letter-d\/",
  63. "nofollow": false,
  64. "page_from": "\/kotyata\/letter-d\/",
  65. "page_to": "\/kotyata\/letter-d\/",
  66. "relative": true,
  67. "ssl_from_use": false,
  68. "ssl_to_use": false,
  69. "state": "alive",
  70. "text_post": null,
  71. "text_pre": null,
  72. "type": "canonical",
  73. "www_from_use": false,
  74. "www_to_use": false
  75. }
  76. ]
  77. }
  78. ]
  79. }

Get Links From Page

https://api.dataforseo.com/v2/op_tasks_get_links_from/$task_id/$page/$limit/$offset
 
  1. Request Sample:

  2. https://api.dataforseo.com/v2/op_tasks_get_links_from/136371534/'/relative/page/on/site.html'
  3. Response Sample:

  4. {
  5. "status": "ok",
  6. "results_time": "0.0668 sec.",
  7. "results_count": 38,
  8. "results": [
  9. {
  10. "post_id": "9999555",
  11. "post_site": "alpinen-gold.com",
  12. "task_id": 136371534,
  13. "string_search_containment": null,
  14. "crawl_max_pages": 100,
  15. "crawl_start": "2017-10-12 11:14:23.624803+03",
  16. "crawl_end": "2017-10-12 11:15:08.908063+03",
  17. "status": "crawled",
  18. "links_from": [
  19. {
  20. "alt": null,
  21. "anchor": "Facebook",
  22. "link_from": "http:\/\/alpinen-gold.com\/kotyata\/letter-d\/",
  23. "link_to": "https:\/\/facebook.com\/nina.babaeva.14",
  24. "nofollow": false,
  25. "page_from": "\/kotyata\/letter-d\/",
  26. "page_to": "facebook.com\/nina.babaeva.14",
  27. "relative": false,
  28. "ssl_from_use": false,
  29. "ssl_to_use": true,
  30. "state": "alive",
  31. "text_post": "",
  32. "text_pre": "",
  33. "type": "href",
  34. "www_from_use": false,
  35. "www_to_use": true
  36. },
  37. {
  38. "alt": null,
  39. "anchor": "gavr1l0",
  40. "link_from": "http:\/\/alpinen-gold.com\/kotyata\/letter-d\/",
  41. "link_to": "http:\/\/gavr1l0.pro\/",
  42. "nofollow": false,
  43. "page_from": "\/kotyata\/letter-d\/",
  44. "page_to": "gavr1l0.pro\/",
  45. "relative": false,
  46. "ssl_from_use": false,
  47. "ssl_to_use": false,
  48. "state": "alive",
  49. "text_post": "",
  50. "text_pre": "bsp; разработка сайта:",
  51. "type": "href",
  52. "www_from_use": false,
  53. "www_to_use": false
  54. },
  55. {
  56. "alt": null,
  57. "anchor": "Одноклассники",
  58. "link_from": "http:\/\/alpinen-gold.com\/kotyata\/letter-d\/",
  59. "link_to": "http:\/\/odnoklassniki.ru\/pitomnik.alpinengold",
  60. "nofollow": false,
  61. "page_from": "\/kotyata\/letter-d\/",
  62. "page_to": "odnoklassniki.ru\/pitomnik.alpinengold",
  63. "relative": false,
  64. "ssl_from_use": false,
  65. "ssl_to_use": false,
  66. "state": "alive",
  67. "text_post": "",
  68. "text_pre": "",
  69. "type": "href",
  70. "www_from_use": false,
  71. "www_to_use": true
  72. },
  73. {
  74. "alt": null,
  75. "anchor": "ALPINEN GOLD",
  76. "link_from": "http:\/\/alpinen-gold.com\/kotyata\/letter-d\/",
  77. "link_to": "http:\/\/alpinen-gold.com\/",
  78. "nofollow": false,
  79. "page_from": "\/kotyata\/letter-d\/",
  80. "page_to": "\/",
  81. "relative": true,
  82. "ssl_from_use": false,
  83. "ssl_to_use": false,
  84. "state": "alive",
  85. "text_post": "",
  86. "text_pre": "",
  87. "type": "href",
  88. "www_from_use": false,
  89. "www_to_use": false
  90. },
  91. .
  92. .
  93. .
  94. {
  95. "alt": null,
  96. "anchor": "Главная",
  97. "link_from": "http:\/\/alpinen-gold.com\/kotyata\/letter-d\/",
  98. "link_to": "http:\/\/alpinen-gold.com\/",
  99. "nofollow": false,
  100. "page_from": "\/kotyata\/letter-d\/",
  101. "page_to": "\/",
  102. "relative": true,
  103. "ssl_from_use": false,
  104. "ssl_to_use": false,
  105. "state": "alive",
  106. "text_post": "",
  107. "text_pre": "",
  108. "type": "href",
  109. "www_from_use": false,
  110. "www_to_use": false
  111. }
  112. ]
  113. }
  114. ]
  115. }

Get H Tags On Page

https://api.dataforseo.com/v2/op_tasks_htags_on_page/$task_id/$page/$limit/$offset
  1. Request Sample:

  2. https://api.dataforseo.com/v2/op_tasks_htags_on_page/136371534/'/relative/page/on/site.html'
  3. Response Sample:

  4. {
  5. "status": "ok",
  6. "results_time": "0.1295 sec.",
  7. "results_count": 4,
  8. "results": [
  9. {
  10. "post_id": "9999555",
  11. "post_site": "alpinen-gold.com",
  12. "task_id": 136371534,
  13. "string_search_containment": null,
  14. "crawl_max_pages": 100,
  15. "crawl_start": "2017-10-12 11:14:23.624803+03",
  16. "crawl_end": "2017-10-12 11:15:08.908063+03",
  17. "status": "crawled",
  18. "htags_on_page": [
  19. {
  20. "h1": [
  21. "Letter D"
  22. ],
  23. "h2": [
  24. "ALPINEN GOLD"
  25. ],
  26. "h3": [
  27. "Calendar",
  28. "Calendar"
  29. ]
  30. }
  31. ]
  32. }
  33. ]
  34. }

Get Images On Page

https://api.dataforseo.com/v2/op_tasks_images_on_page/$task_id/$page/$limit/$offset
  1. Request Sample:

  2. https://api.dataforseo.com/v2/op_tasks_images_on_page/151668277/'/relative/page/on/site.html'
  3. Response Sample:

  4. {
  5. "status": "ok",
  6. "results_time": "0.1068 sec.",
  7. "results_count": 12,
  8. "results": [
  9. {
  10. "post_id": "9#999#555",
  11. "post_site": "ranksonic.com",
  12. "task_id": 151668277,
  13. "string_search_containment": null,
  14. "crawl_max_pages": 100,
  15. "crawl_start": "2017-10-12 11:14:23.624803+03",
  16. "crawl_end": "2017-10-12 11:15:08.908063+03",
  17. "status": "crawled",
  18. "images_on_page": [
  19. {
  20. "alt": "RankS",
  21. "src": "\/assets\/images\/logo_ranks.png",
  22. "title": ""
  23. },
  24. {
  25. "alt": "O",
  26. "src": "\/assets\/images\/logo_o.png",
  27. "title": ""
  28. },
  29. {
  30. "alt": "nic",
  31. "src": "\/assets\/images\/logo_nic.png",
  32. "title": ""
  33. },
  34. {
  35. "alt": "menu",
  36. "src": "\/assets\/images\/icon-menu.png",
  37. "title": ""
  38. },
  39. {
  40. "alt": "Generate keywords",
  41. "src": "\/assets\/images\/gk-img.png",
  42. "title": ""
  43. },
  44. {
  45. "alt": "700 keywords",
  46. "src": "\/assets\/images\/gk-find.png",
  47. "title": ""
  48. },
  49. {
  50. "alt": "According to the region",
  51. "src": "\/assets\/images\/gk-location.png",
  52. "title": ""
  53. },
  54. {
  55. "alt": "Export results",
  56. "src": "\/assets\/images\/gk-export.png",
  57. "title": ""
  58. },
  59. {
  60. "alt": "menu",
  61. "src": "\/assets\/images\/close-icon.png",
  62. "title": ""
  63. },
  64. {
  65. "alt": "close",
  66. "src": "\/themes\/default\/images\/icons\/close-ticket.png",
  67. "title": ""
  68. },
  69. {
  70. "alt": "close",
  71. "src": "\/themes\/default\/images\/icons\/close-ticket.png",
  72. "title": ""
  73. },
  74. {
  75. "alt": "close",
  76. "src": "\/themes\/default\/images\/icons\/close-ticket.png",
  77. "title": ""
  78. }
  79. ]
  80. }
  81. ]
  82. }

Ready to start? Test our API for free!