API codes – SERP Features in Google – SERP Features API codes
Our SEO specialists from IUSTITIA.BG create unique SEO services that improve the online visibility and growth of your business.
There are 2 places to get information about SERP Features via Semrush API:
- Analytics API
- Position Tracking API (Projects API)
In the Analytics API, you can pull information about a domain’s keyword portfolio. Here, you can filter to see if they have any SERP Features. The column header for SERP Features in API is Fl (locate all column headers in API documentation).
Parameters in Analytics API
The parameters for filtering SERP Features (in Analytics API) are available as follows:
include: display_filter=+|Fl|Eq|
exclude: display_filter=-|Fl|Eq|
- 0: InstantAnswer
- 1: KnowledgeGraph
- 2: Carousel
- 3: LocalPack
- 4: News
- 5: Images
- 6: SiteLinks
- 7: Review
- 8: Tweet
- 9: Video
- 10: FeaturedVideo
- 11: FeaturedSnippet
SERP Feature Labels in Projects API
In Position Tracking API calls, you can gather data on the SERP Features that your website (or any website you’re tracking) has among the keywords that you’re tracking. Again, the column heading for SERP Features in these calls is Fl.
The labels for each SERP Feature in Projects API responses are:
- fsn: Featured snippet
- geo: Local pack
- rev: Reviews
- stl: Site links
- vid: Video
- vib: Featured video
- new: Top stories
- rel: People also ask
- img: Images
- twt: Twitter
- knw: Instant answer
- kng: Knowledge panel
- shp: Shopping ads
- adt: AdWords top
- adb: AdWords bottom
To learn more about this SERP feature and others, read our SERP Features Guide.

Leave a Reply