Skip to main content

Scenario

Understand what content works for competitors — which pages drive the most organic traffic and where messaging gaps exist. Pull url_organic for a competitor, send to Mave for gap analysis, then validate your differentiators with a focus group.

Architecture

Code

Example Output

Error Handling

The competitor domain may lack organic data in the selected database. Try a different regional database or verify domain spelling.
SEMrush traffic numbers are estimates based on position and CTR models. Use for relative comparison, not absolute counts.
Some URLs in the response may contain encoded characters. Decode before using in further API calls.