Skip to main content
GET https://xquik.com/api/v1/x/hashflags
1 credit per hashflag returned · All plans from $0.00012/credit
Use GET /x/hashflags to list X’s hashflags. A hashflag is the custom emoji X shows after a hashtag. It appears for a set time. Each returned hashflag costs 1 credit. Filters and limit lower the cost. An empty result costs nothing.

Track branded hashtags

The endpoint lists the hashflags that run now. Send activeOnly=false to add ended and upcoming ones. Use q to keep hashtags that contain your text. startsAt and endsAt give the time X shows each emoji. assetUrl is the emoji image. animations lists the animations X plays, such as on a like. X (Twitter) lists a few hundred hashflags. Send limit when you need only some.

Query parameters

Choose fields

Headers

Response

200 OK

A filter that matches no hashflag returns an empty list and a message.

401 Unauthenticated

Anonymous requests get WWW-Authenticate: Bearer and a guest wallet checkout action. This is not a Payment challenge.

402 Payment required

Account keys get account options. Guest keys get guest top-up only. No checkout starts automatically. Confirm any payment action.

502 X API unavailable

The read service returned an error. Retry after a short delay.

503 Service busy

Xquik is busy. Wait for Retry-After, then retry.

429 Rate limit exceeded

The Xquik tier limit blocked the request. Use Retry-After when present. Otherwise, use the JSON retryAfter field.

424 Dependency failed

The opt-in normalized contract returns 424 when the read service fails. Send xquik-api-contract: 2026-04-29 to opt in. Default v1 returns 502.

Twitter hashflags API questions

What is a Twitter hashflag?

A hashflag is a custom emoji X shows after a hashtag. It appears for a set time. Brands and events use them. Some people call them hashmoji.

How do I list the hashflags that run now?

Call GET /x/hashflags without parameters. The response lists every hashflag X shows at that moment.

How do I find the emoji of 1 hashtag?

Send q with the hashtag text, with or without #. Read assetUrl from the matching hashflag.

How much does a hashflags request cost?

Each returned hashflag costs 1 credit. An empty result costs nothing. Add q or limit to return fewer hashflags.

Does this replace X’s official API?

No. This page documents Xquik, an independent third-party service. It does not document X’s official API.
Next steps. Search tweets finds the posts that use a hashtag.

Response examples

  • 400 { "error": "unknown_field", "message": "Unknown field asetUrl. Did you mean assetUrl?" }
  • 401 { "error": "unauthenticated", "message": "Authentication required." }
  • 402 { "error": "insufficient_credits", "message": "Insufficient credits. Top up or subscribe to continue." }
  • 403 { "error": "api_key_paused", "message": "This API key is paused. Resume it at dashboard.xquik.com/api-keys to use it again." }
  • 424 { "error": "x_api_unavailable", "message": "X data source temporarily unavailable. Try again later." }
  • 429 { "error": "rate_limit_exceeded", "message": "Too many requests. Try again later.", "retryAfter": 60 }
  • 502 { "error": "x_api_unavailable", "message": "X data source temporarily unavailable. Try again later." }
  • 503 { "error": "x_api_unavailable", "message": "Xquik is busy right now. Retry shortly." }