X / Twitter

Badges for X profiles — follow and mention CTA badges with the X icon.

Static CTA badges for X profiles. No API token required.

x follow
Follow (branded)
x follow
Follow (secondary)
x mention
Mention (outline)
x default
Default (follow)

Available badges

BadgeEndpointDescription
Follow/x/follow/{username}"follow @username" CTA linking to profile
Mention/x/mention/{username}"@username" CTA linking to tweet intent
Default/x/{username}Same as follow
GET/x/follow/:username.svg

Path Parameters

required

X username without @.

![badge](https://shieldcn.dev/x/follow/jal_co.png)
badge preview

Quick examples

![follow](https://shieldcn.dev/x/follow/jal_co.svg?variant=branded)
![mention](https://shieldcn.dev/x/mention/jal_co.svg?variant=outline)
![follow](https://shieldcn.dev/x/jal_co.svg?variant=secondary)

Why static?

X's API requires a $200/mo Basic plan for any read access — even public profile data like follower counts. These badges skip the API entirely and render as static follow/mention CTAs with the X icon. No token, no cost, no rate limits.

Data source

No external API calls. Badges are rendered statically using the username from the URL path.