DEV Community

Elowen
Elowen

Posted on

What Data Should a SERP Result Actually Include?

When developers work with search result data, it is tempting to think the only important field is ranking position.
In practice, a useful SERP record usually needs more context.
A basic organic result might include:

{
  "position": 1,
  "title": "Example result title",
  "url": "https://example.com",
  "domain": "example.com",
  "snippet": "Example search result snippet"
}
Enter fullscreen mode Exit fullscreen mode

But for SEO workflows, that is often not enough.
Useful metadata can include:

  • keyword
  • location
  • language
  • device
  • timestamp
  • result type
  • visible position
  • organic position
  • ads presence
  • People Also Ask presence
  • related searches

The more context you store, the easier it becomes to understand why rankings changed and what the search result page actually looked like at that moment.

Top comments (0)