브라우저가 최신 버전이 아닙니다. 사이트가 제대로 표시되지 않을 수 있습니다. 브라우저를 업데이트해 주세요.

지식 베이스
API
SERP Features API codes

SERP Features API codes

Manual

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=+|Fl|Eq|<serp feature id>

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

  • 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
매뉴얼
더 보기
최근 조회