cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use APIs to get Terapeak information in Python?

I am currently working on integrating eBay's Terapeak data into a Python application. My goal is to retrieve product research information, such as sales data for specific keywords, using the Terapeak APIs.

So far, I've managed to obtain an OAuth access token, but I'm running into issues when trying to make API calls.

When I run my code, I get the following response indicating an invalid authentication token:

<?xml version="1.0" encoding="UTF-8"?>
<GetSellerTransactionsResponse xmlns="urn:ebay:apis:eBLBaseComponents">
    <Timestamp>...</Timestamp>
    <Ack>Failure</Ack>
    <Errors>
        <ShortMessage>Auth token is invalid.</ShortMessage>
        <LongMessage>Validation of the authentication token in API request failed.</LongMessage>
        <ErrorCode>931</ErrorCode>
        <SeverityCode>Error</SeverityCode>
        <ErrorClassification>RequestError</ErrorClassification>
    </Errors>
    <Version>1271</Version>
    <Build>E1271_CORE_APISELLING_19187371_R1</Build>
</GetSellerTransactionsResponse>

 

I'm confident that the token was generated correctly, but I'm unsure if it has the right permissions or if I'm using the correct API endpoint for retrieving Terapeak data. I would greatly appreciate any guidance on:

  1. Verifying the necessary scopes and permissions for the OAuth token.
  2. Correct API endpoints and request structure for accessing Terapeak data.
  3. Any sample code or documentation specifically for integrating Terapeak data with Python.

Thank you in advance for your help!

Message 1 of 3
latest reply
2 REPLIES 2

How to use APIs to get Terapeak information in Python?

Hi @shou5627,

 

Terapeak is an exclusive eBay insights tool for market analysis. Terapeak uses recent eBay supply, demand and pricing data to help you determine what to sell, when to sell it and at what price to sell it for.Please use Terapeak to research market trends based on real data from millions of eBay transactions to effectively strategize your sales.

 

With Terapeak you can research recent price trends in the marketplace and sales data for millions of items, to optimize your listings and improve your sales velocity. Analyze markets, categories, competition, hot trends and products to find the best-selling items on eBay

Best Regards,
eBay Developer Support
Message 2 of 3
latest reply

How to use APIs to get Terapeak information in Python?

developer_support@ebay 

How can I use Python to get the Terapeak data for one of my projects? Is it doable?

Can I retrieve Terapeak data using Python?

Message 3 of 3
latest reply