Knowledge Base
API
SERP Features API codes

SERP Features API codes

There are 2 places to get information about SERP Features via Semrush API: 

  1. Analytics API
  2. 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=+|Fp|Eq|<serp feature id>

exclude: display_filter=-|Fp|Eq|<serp feature id>

You can find the full list of SERP Feature codes in our API documentation here.

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. The column heading for SERP Features in these calls is serp_feature_filter, available for Organic Positions and Organic Visibility Index reports.

The labels for each SERP Feature in Projects API responses are:

Code

Name

aai

Ask AI

adb

AdWords bottom

adt

AdWords top

aic

AI chat

aim

AI summary

aio

AI overview

ais

AI stories

amp

AMP

app

Apps block

car

Organic carousel

flg

Flights

fsn

Featured snippet

geo

Local pack

hot

Hotels

img

Images

ind

Indented

job

Jobs

kng

Knowledge panel

knw

Instant answer

new

Top stories

rel

People also ask

res

Related searches

rev

Reviews

shp

Shopping ads

stl

Site links

tea

Teaser

twt

Twitter

vib

Featured video

vid

Video

Frequently asked questions Show more
Manual Show more