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 domain's positions for its keywords (export_positions_csv)

export_positions_csv — method exports domains positions to csv file.


Response example

Domain Keywords  Position Position Changes The number of queries CPC Competition in PPC Keyword length URL Types of keywords Results found Keywords (broad match) Approximate traffic zz b 51 -2 10 0 0 2 kn_graph_disambiguation 181000000 0 0 zylo sony ericsson 18 9 10 0 0 3 pic,related_search,video 543000 0 0 zxperia z5 2 720 0.0218107 100 2 shopping_rhs,related_search 43400000 0 698 zx310 5 10 0.0615423 100 1 related_search,pic 722000 0 5 zx220bt sony 4 10 0 0 2 pic,related_search,video 128000 0 8 zx1 compact 4 0 30 0.068738 39 2 pic,snip_reviews_stars 314000 0 25 zx premium sony 1 10 0 0 3 pic,snip_reviews_stars 37000000 0 10

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_positions_csv'

params = {
    'query': '',
    '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

Introducing Serpstat

Find out about the main features of the service in a convenient way for you!

Please send a request, and our specialist will offer you education options: a personal demonstration, a trial period, or materials for self-study and increasing expertise — everything for a comfortable start to work with 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

Thank you, we have saved your new mailing settings.

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
Open support chat