seo

Compare Pair

Resolve a <a>-vs-<b> slug into both agents' SEO payloads.

If the requested ordering isn't canonical (alphabetical-first), the response includes redirect_to so the Next.js page returns a 301 instead of indexing two URLs (FR-10).

get/api/v1/seo/compare/{slug}

Request

  • Base URL: https://api.badgeia.com
  • URL: https://api.badgeia.com/api/v1/seo/compare/{slug}
  • Auth: none declared

Path parameters

slugstring required

Response

Successful Response

canonical_slugstring required
redirect_tostring nullable

If the requested slug isn't in canonical (alphabetical-first) order, the router returns this for the frontend to 301.

shared_domainstring nullable required
is_indexableboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.