---
name: analytics-api
description: "Analytics API skill. Use when working with Analytics for customer_service_metric, seller_standards_profile, traffic_report. Covers 4 endpoints."
version: 1.0.0
generator: lapsh
---

# Analytics API
API version: 1.3.2

## Auth
OAuth2

## Base URL
https://api.ebay.com/sell/analytics/v1

## Setup
1. Configure auth: OAuth2
2. GET /seller_standards_profile -- this call retrieves all the standards profiles for the associated seller.  a standards profile  is a set of ebay seller metrics and the seller's associated compliance values (either top_rated, above_standard, or below_standard).  a seller's multiple profiles are distinguished by two criteria, a "program" and a "cycle." a profile's program  is one of three regions where the seller may have done business, or program_global to indicate all marketplaces where the seller has done business. the cycle value specifies whether the standards compliance values were determined at the last official ebay evaluation or at the time of the request.
3. Explore available endpoints below

## Endpoints
4 endpoints across 3 groups. See references/api-spec.lap for full details.

### Customer_service_metric
| Method | Path | Description |
|--------|------|-------------|
| GET | /customer_service_metric/{customer_service_metric_type}/{evaluation_type} | Use this method to retrieve a seller's performance and rating for the customer service metric.  Control the response from the getCustomerServiceMetric method using the following path and query parameters: customer_service_metric_type controls the type of customer service transactions evaluated for the metric rating. evaluation_type controls the period you want to review. evaluation_marketplace_id specifies the target marketplace for the evaluation. Currently, metric data is returned for only peer benchmarking. For details on the workings of peer benchmarking, see Service metrics policy.  For details on using and understanding the response from this method, see Interpreting customer service metric ratings. |

### Seller_standards_profile
| Method | Path | Description |
|--------|------|-------------|
| GET | /seller_standards_profile | This call retrieves all the standards profiles for the associated seller.  A standards profile  is a set of eBay seller metrics and the seller's associated compliance values (either TOP_RATED, ABOVE_STANDARD, or BELOW_STANDARD).  A seller's multiple profiles are distinguished by two criteria, a "program" and a "cycle." A profile's program  is one of three regions where the seller may have done business, or PROGRAM_GLOBAL to indicate all marketplaces where the seller has done business. The cycle value specifies whether the standards compliance values were determined at the last official eBay evaluation or at the time of the request. |
| GET | /seller_standards_profile/{program}/{cycle} | This call retrieves a single standards profile for the associated seller.  A standards profile  is a set of eBay seller metrics and the seller's associated compliance values (either TOP_RATED, ABOVE_STANDARD, or BELOW_STANDARD).  A seller can have multiple profiles distinguished by two criteria, a "program" and a "cycle." A profile's program  is one of three regions where the seller may have done business, or PROGRAM_GLOBAL to indicate all marketplaces where the seller has done business. The cycle value specifies whether the standards compliance values were determined at the last official eBay evaluation (CURRENT) or at the time of the request (PROJECTED). Both cycle and a program values are required URI parameters for this method. |

### Traffic_report
| Method | Path | Description |
|--------|------|-------------|
| GET | /traffic_report | This method returns a report that details the user traffic received by a seller's listings. A traffic report gives sellers the ability to review how often their listings appeared on eBay, how many times their listings are viewed, and how many purchases were made. The report also returns the report's start and end dates, and the date the information was last updated.  For more information, see Traffic report details |

## Common Questions
Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "Get customer_service_metric details?" -> GET /customer_service_metric/{customer_service_metric_type}/{evaluation_type}
- "List all seller_standards_profile?" -> GET /seller_standards_profile
- "Get seller_standards_profile details?" -> GET /seller_standards_profile/{program}/{cycle}
- "List all traffic_report?" -> GET /traffic_report
- "How to authenticate?" -> See Auth section above

## Response Tips
- Check response schemas in references/api-spec.lap for field details
- Error responses include status codes and descriptions in the spec

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)
