Get access to 30+ marketing and SEO tools. analyze competitors, keywords, and backlinks for free..
Sign in Sign Up

We use cookies to make Serpstat better. By clicking "Accept cookies", you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Learn more

Export keywords for a search query (export_keywords_csv)

export_keywords_csv — method exports the list of keywords for a search query. The naming of the fields in the report depends on the language of the Serpstat interface.

Response example

Keywords The number of queries CPC Competition in PPC Results found Keywords (broad match) Types of keywords social_domains Correct spelling Keyword length lang difficulty
tatoo girl 320 0 1 1020000000 0 video amazon,vimeo,wikipedia,instagram 2 5.97
tatoos on hand 40 0 0 44200000 0 yelp,pinterest,wikipedia,tumblr,amazon tattoos on hand 3 en 0.6
tatoo words 10 0 0 57300000 0 pinterest,youtube,facebook,tumblr tattoo words 2 en 42.72
star wars tatoo 10 0 0 21500000 0 pinterest,vk,reddit,facebook,amazon star wars tattoo 3 en 13.44
tatoo kit 10 0 0 3320000 0 facebook,amazon,youtube,pinterest tattoo kit 2 en 0.01
kool tatoos 50 0 0 1120000000 0


pinterest,facebook 2 0.01
tatoo handlefix 10 0 0 26800 0 pic 3 0.01

1 API credit is charged for 1 line of response.

Example PHP Python
Request data:

Response data:

import codecs
import json
import pprint
import urllib.request as urlrequest
from urllib.parse import urlencode

host = ''
method = 'export_keywords_csv'

params = {
    'query': 'buy%20laptop',
    'se': 'g_us',
    'token': 'ijmiom4f5m34905g03um8342dm04923lre3w'}

api_url = "{host}/{method}?{params}".format(
    params=urlencode(params, safe=',')

    csv_data = urlrequest.urlopen(api_url).read()
except Exception as e0:
    print("API request error: {error}".format(error=e0))'csv_data.csv', mode='w', encoding='utf8').write(csv_data.decode('utf8'))

Share this article with your friends

Sign In Free Sign Up

You’ve reached your query limit.

Or email
Forgot password?
Or email
Back To Login

Don’t worry! Just fill in your email and we’ll send over your password.

Are you sure?


To complete your registration you need to enter your phone number


We sent confirmation code to your phone number

Your phone Resend code Queries left

Something went wrong.

Contact our support team
Or confirm the registration using the Telegram bot Follow this link
Please pick the project to work on

Personal demonstration

Serpstat is all about saving time, and we want to save yours! One of our specialists will contact you and discuss options going forward.

These may include a personal demonstration, a trial period, comprehensive training articles & webinar recordings, and custom advice from a Serpstat specialist. It is our goal to make you feel comfortable while using Serpstat.




We are glad of your comment
Upgrade your plan

Upgrade your plan

Export is not available for your account. Please upgrade to Lite or higher to get access to the tool. Learn more

Sign Up Free

Спасибо, мы с вами свяжемся в ближайшее время

View Editing


You have run out of limits

You have reached the limit for the number of created projects. You cannot create new projects unless you increase the limits or delete existing projects.

I want more limits