Analytics API
ebay · Commerce
The Analytics API retrieves call-limit data and the quotas that are set for the RESTful APIs and the legacy Trading API. Responses from calls made to getRateLimits and getUerRateLimits include a list of the applicable resources and the "call limit", or quota, that is set for each resource. In addition to quota information, the response also includes the number of remaining calls available before the limit is reached, the time remaining before the quota resets, and t
Authentication
Sample Requests
This method retrieves the call limit and utilization data for an application. The data is retrieved for all RESTful APIs and the legacy Trading API. The response from getRateLimits includes a list of the applicable resources and the "call limit", or quota, that is set for each resour
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/ebay.com/developer-analytics/v1_beta.0.0/rate_limit/?api_name=example&api_context=example"
import requests
params = {
"api_name": "example",
"api_context": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/ebay.com/developer-analytics/v1_beta.0.0/rate_limit/",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/ebay.com/developer-analytics/v1_beta.0.0/rate_limit/');
url.searchParams.set('api_name', 'example');
url.searchParams.set('api_context', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/ebay.com/developer-analytics/v1_beta.0.0/rate_limit/")
q := baseURL.Query()
q.Set("api_name", "example")
q.Set("api_context", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/ebay.com/developer-analytics/v1_beta.0.0/rate_limit/")
uri.query = URI.encode_www_form({
"api_name" => "example",
"api_context" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/ebay.com/developer-analytics/v1_beta.0.0/rate_limit/?" . http_build_query([
"api_name" => "example",
"api_context" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));This method retrieves the call limit and utilization data for an application user. The call-limit data is returned for all RESTful APIs and the legacy Trading API that limit calls on a per-user basis. The response from getUserRateLimits includes a list of the applicable resources and
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/ebay.com/developer-analytics/v1_beta.0.0/user_rate_limit/?api_name=example&api_context=example"
import requests
params = {
"api_name": "example",
"api_context": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/ebay.com/developer-analytics/v1_beta.0.0/user_rate_limit/",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/ebay.com/developer-analytics/v1_beta.0.0/user_rate_limit/');
url.searchParams.set('api_name', 'example');
url.searchParams.set('api_context', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/ebay.com/developer-analytics/v1_beta.0.0/user_rate_limit/")
q := baseURL.Query()
q.Set("api_name", "example")
q.Set("api_context", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/ebay.com/developer-analytics/v1_beta.0.0/user_rate_limit/")
uri.query = URI.encode_www_form({
"api_name" => "example",
"api_context" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/ebay.com/developer-analytics/v1_beta.0.0/user_rate_limit/?" . http_build_query([
"api_name" => "example",
"api_context" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Analytics API?
Analytics API is a Commerce API. Developers commonly use commerce APIs for:
- syncing product catalogues and inventory levels
- building price comparison and deal-finder tools
- processing orders and tracking shipments
- managing customer wishlists and reviews
- automating abandoned-cart and promotional emails
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Analytics API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?