Docs/APIs/SEO Data Scraper

SEO Data Scraper

Scrape SEO data

OperationalCredits 5 per callp50 1728msData ScrapingStar

Overview

SEO Scraper works by parsing the HTML content of a web page to extract the SEO data. It returns the meta title, meta description, and more in a structured format.

Endpoint

One host, one path per API. The block below shows this call in four languages; every one of them is the same HTTP request. Making requests covers the timeouts, retries and parameter rules that apply to all of them. The SDKs wrap the same call in a typed client.

POSThttps://api.apiverve.com/v1/seoscraper
curl -X POST https://api.apiverve.com/v1/seoscraper \
  -H "x-api-key: your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://apiverve.com"
}'
const res = await fetch('https://api.apiverve.com/v1/seoscraper', {
  method: 'POST',
  headers: {
    'x-api-key': 'your_api_key_here',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
  "url": "https://apiverve.com"
}),
});

if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);

const { data } = await res.json();
console.log(data);
import requests

res = requests.post(
    "https://api.apiverve.com/v1/seoscraper",
    headers={"x-api-key": "your_api_key_here"},
    json={
    "url": "https://apiverve.com"
},
    timeout=15,
)
res.raise_for_status()

print(res.json()["data"])
package main

import (
	"fmt"
	"io"
	"net/http"
	"strings"
)

func main() {
	body := strings.NewReader(`{
  "url": "https://apiverve.com"
}`)
	req, _ := http.NewRequest("POST", "https://api.apiverve.com/v1/seoscraper", body)
	req.Header.Set("Content-Type", "application/json")
	req.Header.Set("x-api-key", "your_api_key_here")

	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()

	out, _ := io.ReadAll(res.Body)
	fmt.Println(string(out))
}

Replace your_api_key_here with the key from your dashboard. When the inputs arrive as a list rather than one at a time, batch requests run up to 200 of them through this same API in a single call.

Authentication

Send your key in the x-api-key header. That is the only auth step — there is no token exchange and no per-endpoint scope to configure. Authentication covers creating, rotating and revoking keys.

401 is the only auth verdict

A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.

Parameters

Sent as JSON in the request body. Premium parameters are accepted on every plan but only take effect on plans that include them.

ParameterTypeDescription
urlRequiredstringThe URL of the web page to scrape SEO data from
url

Response

Every API returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape. Response format covers the envelope, the other output formats and how premium fields are withheld.

Sample response
{
  "status": "ok",
  "error": null,
  "data": {
    "requestUrl": "https://apiverve.com",
    "url": "https://apiverve.com/",
    "canonical": "https://apiverve.com",
    "lang": "en",
    "charset": "utf-8",
    "title": "APIVerve - Fast, Scalable, and Reliable APIs",
    "image": "",
    "favicons": [
      {
        "rel": "icon",
        "type": "image/x-icon",
        "href": "/images/favicon.ico"
      },
      {
        "rel": "icon",
        "type": "image/png",
        "href": "/images/favicon.png"
      },
      {
        "rel": "apple-touch-icon",
        "href": "/images/favicon.png"
      }
    ],
    "author": "APIVerve",
    "description": "APIVerve offers fast, scalable, and reliable APIs for developers. Access data enrichment, validation, and integration services with enterprise-grade performance.",
    "keywords": "API, developer tools, data enrichment, API integration, scalable APIs, reliable APIs",
    "source": "",
    "price": "",
    "priceCurrency": "",
    "availability": "",
    "robots": "index, follow",
    "jsonld": [
      {
        "@context": "https://schema.org",
        "@type": "Organization",
        "name": "APIVerve",
        "url": "https://apiverve.com",
        "logo": "https://apiverve.com/images/favicon.png",
        "sameAs": [
          "https://www.facebook.com/apiverve",
          "https://www.twitter.com/apivervehq",
          "https://www.linkedin.com/company/apiverve",
          "https://github.com/apiverve",
          "https://www.instagram.com/apiverve"
        ]
      },
      {
        "@context": "https://schema.org",
        "@type": "WebSite",
        "url": "https://apiverve.com",
        "potentialAction": {
          "@type": "SearchAction",
          "target": {
            "@type": "EntryPoint",
            "urlTemplate": "https://apiverve.com/marketplace?search={search_term_string}"
          },
          "query-input": "required name=search_term_string"
        }
      }
    ],
    "og:url": "https://apiverve.com",
    "og:locale": "",
    "og:locale:alternate": "",
    "og:title": "APIVerve - Fast, Scalable, and Reliable APIs",
    "og:type": "website",
    "og:description": "APIVerve offers fast, scalable, and reliable APIs for developers. Access data enrichment, validation, and integration services with enterprise-grade performance.",
    "og:determiner": "",
    "og:site_name": "APIVerve",
    "og:image": "https://apiverve.com/images/posterImage.png",
    "og:image:secure_url": "",
    "og:image:type": "",
    "og:image:width": "1200",
    "og:image:height": "630",
    "twitter:title": "APIVerve - Fast, Scalable, and Reliable APIs",
    "twitter:description": "APIVerve offers fast, scalable, and reliable APIs for developers. Access data enrichment, validation, and integration services with enterprise-grade performance.",
    "twitter:image": "https://apiverve.com/images/posterImage.png",
    "twitter:image:alt": "",
    "twitter:card": "summary_large_image",
    "twitter:site": "",
    "twitter:site:id": "",
    "twitter:url": "",
    "twitter:account_id": "",
    "twitter:creator": "",
    "twitter:creator:id": "",
    "twitter:player": "",
    "twitter:player:width": "",
    "twitter:player:height": "",
    "twitter:player:stream": "",
    "twitter:app:name:iphone": "",
    "twitter:app:id:iphone": "",
    "twitter:app:url:iphone": "",
    "twitter:app:name:ipad": "",
    "twitter:app:id:ipad": "",
    "twitter:app:url:ipad": "",
    "twitter:app:name:googleplay": "",
    "twitter:app:id:googleplay": "",
    "twitter:app:url:googleplay": "",
    "headings": [
      {
        "level": "h4",
        "text": "API Platform"
      },
      {
        "level": "h5",
        "text": "Core Platform"
      },
      {
        "level": "h5",
        "text": "Developer Tools"
      },
      {
        "level": "h5",
        "text": "Integrations"
      },
      {
        "level": "h4",
        "text": "Solutions"
      },
      {
        "level": "h5",
        "text": "By Industry"
      },
      {
        "level": "h5",
        "text": "By Use Case"
      },
      {
        "level": "h4",
        "text": "Resources"
      },
      {
        "level": "h5",
        "text": "Learn & Build"
      },
      {
        "level": "h5",
        "text": "Support & Community"
      },
      {
        "level": "h5",
        "text": "Trust & Transparency"
      },
      {
        "level": "h1",
        "text": "Fast, Scalable, and Reliable |"
      },
      {
        "level": "h2",
        "text": "Trusted by over 40,000 forward thinking developers"
      },
      {
        "level": "h2",
        "text": "Why Developers Choose APIVerve"
      },
      {
        "level": "h3",
        "text": "⚡ Unmatched Reliability"
      },
      {
        "level": "h3",
        "text": "🔑 True One-Key Simplicity"
      },
      {
        "level": "h3",
        "text": "🌐 GraphQL & Mocking"
      },
      {
        "level": "h2",
        "text": "Most Popular APIs"
      },
      {
        "level": "h3",
        "text": "Daily API Performance"
      },
      {
        "level": "h2",
        "text": "Trusted by Developers Worldwide"
      },
      {
        "level": "h4",
        "text": "Tomasz K."
      },
      {
        "level": "h4",
        "text": "Priya M."
      },
      {
        "level": "h4",
        "text": "Rafael S."
      },
      {
        "level": "h2",
        "text": "Native SDKs & Libraries"
      },
      {
        "level": "h4",
        "text": "JavaScript/TypeScript"
      },
      {
        "level": "h4",
        "text": "React"
      },
      {
        "level": "h4",
        "text": "Vue.js"
      },
      {
        "level": "h4",
        "text": "Angular"
      },
      {
        "level": "h4",
        "text": "Node.js"
      },
      {
        "level": "h4",
        "text": "Next.js"
      },
      {
        "level": "h2",
        "text": "Frequently Asked Questions"
      },
      {
        "level": "h3",
        "text": "How much usage is included with the Free Trial plan?"
      },
      {
        "level": "h3",
        "text": "How do I get an API Key?"
      },
      {
        "level": "h3",
        "text": "How does APIVerve use my data?"
      },
      {
        "level": "h3",
        "text": "Can I change my plan at any time?"
      },
      {
        "level": "h3",
        "text": "How do I know my plan usage?"
      },
      {
        "level": "h3",
        "text": "Can I cancel my plan anytime?"
      },
      {
        "level": "h3",
        "text": "Where can I find my invoices?"
      },
      {
        "level": "h3",
        "text": "What are your accepted payment methods?"
      },
      {
        "level": "h3",
        "text": "What happens when I go over the token limit for the month?"
      },
      {
        "level": "h3",
        "text": "What is a token?"
      },
      {
        "level": "h3",
        "text": "Do you offer student discounts?"
      },
      {
        "level": "h2",
        "text": "Ready to build something amazing?"
      },
      {
        "level": "h3",
        "text": "APIVerve"
      },
      {
        "level": "h4",
        "text": "Product"
      },
      {
        "level": "h4",
        "text": "Integrations"
      },
      {
        "level": "h4",
        "text": "Solutions"
      },
      {
        "level": "h4",
        "text": "Resources"
      },
      {
        "level": "h4",
        "text": "Compare"
      },
      {
        "level": "h4",
        "text": "SDKs"
      },
      {
        "level": "h4",
        "text": "Company"
      },
      {
        "level": "h4",
        "text": "Legal"
      }
    ],
    "imgTags": [
      {
        "src": "/images/favicon.png",
        "alt": "APIVerve"
      },
      {
        "src": "/images/wreath.svg",
        "alt": "Award"
      },
      {
        "src": "/images/brands/brand06.png",
        "alt": "Postman"
      },
      {
        "src": "/images/brands/brand01.png",
        "alt": "Microsoft"
      },
      {
        "src": "/images/brands/brand02.png",
        "alt": "DuckDuckGo"
      },
      {
        "src": "/images/brands/brand03.png",
        "alt": "Topdanmark"
      },
      {
        "src": "/images/brands/brand04.png",
        "alt": "University of Maryland"
      },
      {
        "src": "/images/brands/brand05.png",
        "alt": "Postman"
      },
      {
        "src": "/images/brands/brand06.png",
        "alt": "RapidAPI"
      },
      {
        "src": "/images/brands/brand07.png",
        "alt": "Zapier"
      },
      {
        "src": "/images/brands/brand08.svg",
        "alt": "Brand"
      },
      {
        "src": "/images/brands/brand01.png",
        "alt": "Microsoft"
      },
      {
        "src": "/images/brands/brand02.png",
        "alt": "DuckDuckGo"
      },
      {
        "src": "/images/brands/brand03.png",
        "alt": "Topdanmark"
      },
      {
        "src": "/images/brands/brand04.png",
        "alt": "University of Maryland"
      },
      {
        "src": "/images/brands/brand05.png",
        "alt": "Postman"
      },
      {
        "src": "/images/brands/brand06.png",
        "alt": "RapidAPI"
      },
      {
        "src": "/images/brands/brand07.png",
        "alt": "Zapier"
      },
      {
        "src": "/images/brands/brand08.svg",
        "alt": "Brand"
      },
      {
        "src": "/images/favicon.png",
        "alt": "APIVerve"
      }
    ],
    "responseBody": "",
    "viewport": "width=device-width, initial-scale=1,width=device-width, initial-scale=1",
    "googlebot": "index, follow",
    "theme-color": "#ffffff",
    "application-name": "APIVerve",
    "msapplication-TileColor": "#3b82f6",
    "mobile-web-app-capable": "yes",
    "apple-mobile-web-app-title": "APIVerve",
    "apple-mobile-web-app-status-bar-style": "default",
    "og:image:alt": "APIVerve - Fast, Scalable, and Reliable APIs"
  }
}

Response fields

Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.

FieldTypeExampleDescription
requestUrlstring"https://apiverve.com"Original URL provided in the request
urlstring"https://apiverve.com/"Final resolved URL after redirects and canonicalization
canonicalPremiumstring"https://apiverve.com"Canonical URL specified in page meta tags
langstring"en"Page language code extracted from HTML attributes
charsetstring"utf-8"Character encoding declared in page metadata
titlestring"APIVerve - Fast, Scalable, and Reliable APIs"Page title tag content for SEO optimization
imagePremiumstring""Primary open graph image URL for social sharing
faviconsarray[3]Array of favicon objects with rel, type, and href
relstring"icon"Favicon relationship type like icon or apple-touch-icon
typestring"image/x-icon"MIME type of favicon image resource
hrefstring"/images/favicon.ico"URL path to favicon resource file
authorstring"APIVerve"Author meta tag content for attribution
descriptionstring"APIVerve offers fast, scalable, and reliable APIs for developers. Access data enrichment, validation, and integration services with enterprise-grade performance."Meta description tag for search engine snippets
keywordsstring"API, developer tools, data enrichment, API integration, scalable APIs, reliable APIs"Meta keywords tag for SEO targeting
sourcePremiumstring""Schema.org source property from structured data
pricePremiumstring""Product pricing information from schema markup
priceCurrencyPremiumstring""Currency code for product pricing in schema
availabilityPremiumstring""Product availability status from structured data
robotsstring"index, follow"Robots meta tag directives for search indexing
jsonldPremiumarray[2]Array of JSON-LD structured data objects
@contextPremiumstring"https://schema.org"JSON-LD schema context URL for validation
@typePremiumstring"Organization"Schema.org type of structured data object
namePremiumstring"APIVerve"
urlPremiumstring"https://apiverve.com"Final resolved URL after redirects and canonicalization
logoPremiumstring"https://apiverve.com/images/favicon.png"
sameAsPremiumarray[https://www.facebook.com/apiverve, ...]
og:urlstring"https://apiverve.com"Open Graph canonical URL for social sharing
og:localestring""Open Graph locale language and region code
og:locale:alternatestring""Alternate locales for Open Graph content
og:titlestring"APIVerve - Fast, Scalable, and Reliable APIs"Open Graph title for social media preview
og:typestring"website"Open Graph content type like website or article
og:descriptionstring"APIVerve offers fast, scalable, and reliable APIs for developers. Access data enrichment, validation, and integration services with enterprise-grade performance."Open Graph description for social sharing
og:determinerstring""Open Graph article determiner for grammar
og:site_namestring"APIVerve"Open Graph site name for consistency
og:imagestring"https://apiverve.com/images/posterImage.png"Open Graph image URL for social previews
og:image:secure_urlstring""HTTPS version of Open Graph image URL
og:image:typestring""MIME type of Open Graph image resource
og:image:widthstring"1200"Open Graph image width in pixels
og:image:heightstring"630"Open Graph image height in pixels
twitter:titlestring"APIVerve - Fast, Scalable, and Reliable APIs"Twitter card title for social preview
twitter:descriptionstring"APIVerve offers fast, scalable, and reliable APIs for developers. Access data enrichment, validation, and integration services with enterprise-grade performance."Twitter card description for social sharing
twitter:imagestring"https://apiverve.com/images/posterImage.png"Twitter card image URL for social media
twitter:image:altstring""Twitter image alt text for accessibility
twitter:cardstring"summary_large_image"Twitter card type like summary_large_image
twitter:sitestring""Twitter account handle for attribution
twitter:site:idstring""Twitter account ID numeric identifier
twitter:urlstring""Twitter card URL destination link
twitter:account_idstring""Associated Twitter account numeric ID
twitter:creatorstring""Twitter creator account handle attribution
twitter:creator:idstring""Twitter creator account numeric ID
twitter:playerstring""Twitter player URL for media content
twitter:player:widthstring""Twitter player width in pixels
twitter:player:heightstring""Twitter player height in pixels
twitter:player:streamstring""Twitter player streaming media URL
twitter:app:name:iphonestring""Twitter app name for iPhone platform
twitter:app:id:iphonestring""Twitter app ID for iPhone app store
twitter:app:url:iphonestring""Twitter app URL for iPhone deep linking
twitter:app:name:ipadstring""Twitter app name for iPad platform
twitter:app:id:ipadstring""Twitter app ID for iPad app store
twitter:app:url:ipadstring""Twitter app URL for iPad deep linking
twitter:app:name:googleplaystring""Twitter app name for Google Play
twitter:app:id:googleplaystring""Twitter app ID for Google Play store
twitter:app:url:googleplaystring""Twitter app URL for Google Play
headingsPremiumarray[52]Array of heading objects with level and text
levelPremiumstring"h4"HTML heading level tag like h1, h2
textPremiumstring"API Platform"Text content of the heading element
imgTagsPremiumarray[20]Array of image tag objects with src and alt
srcPremiumstring"/images/favicon.png"Image source URL or path from img tag
altPremiumstring"APIVerve"Image alt text for accessibility and SEO
responseBodyPremiumstring""Full HTML response body of the page
viewportstring"width=device-width, initial-scale=1,width=device-width, initial-scale=1"Viewport meta tag for mobile responsive design
googlebotstring"index, follow"Googlebot specific meta tag directives
theme-colorstring"#ffffff"Theme color meta tag for browser UI
application-namestring"APIVerve"Application name for installed web app
msapplication-TileColorstring"#3b82f6"Windows tile background color for app
mobile-web-app-capablestring"yes"Indicates if app is capable of fullscreen
apple-mobile-web-app-titlestring"APIVerve"App title for Apple home screen display
apple-mobile-web-app-status-bar-stylestring"default"Apple status bar style for iOS app
og:image:altstring"APIVerve - Fast, Scalable, and Reliable APIs"Open Graph image alt text for accessibility

Errors

Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change. Error handling covers the full status list and which of them are worth retrying.

StatusMeaningWhat to do
400Input was rejectedRead error; it names the parameter.
401Key missing or invalidCheck the header name and the key value.
403Key valid, but not permittedA key restriction or IP allow-list; see key scoping.
429Rate limited, or out of creditsRead error to tell them apart; see rate limits.

Use cases

SEO Analysis
Use the SEO Scraper API to scrape SEO data for analysis. Use the data to evaluate website performance, optimize content, and improve search engine rankings
Competitor Research
Scrape SEO data by using the SEO Scraper API for competitor research. Use the data to analyze competitor strategies, identify keywords, and benchmark performance
Content Optimization
Optimize content by using the SEO Scraper API to scrape SEO data. Use the data to improve meta tags, enhance readability, and increase user engagement
Keyword Research
Conduct keyword research by using the SEO Scraper API to scrape SEO data. Use the data to identify search terms, analyze search trends, and target relevant keywords

Other ways to use SEO Data Scraper

Set up SEO Data Scraper on APIVerve, or reach the same source a different way. Your APIVerve account and credits work on all of them — one key, one balance.

Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKitReference →
Use it in Google Sheets or ExcelA =VERVE() formula fills a column — no script, no export, recalculates in place.VerveSheetsReference →
Ground an agent on itA cited, machine-checkable fact your model can't produce on its own.VerveContextReference →

More in Data Scraping:

Was this page helpful?