ArtemisAds Open API
  1. Get Started
ArtemisAds Open API
  • Get Started
    • Authentication
    • Pagination
    • Rate Limiting
  • Publisher API
    • Products
      • List Products
      • List Product Variations
      • List Deals
    • Brands
      • List Brands
      • List Associate Brands
    • Atttibution Program
      • Tracking IDs
        • Create Primary Tracking ID
        • Create Sub Tracking ID
        • List Tracking IDs
      • Publisher Sources
        • List Publisher Sources
      • Product Links
        • Create Product Link
        • List Product Link
        • Get Product Link by ID
      • Brand Links
        • Create Default Brand Storefront Link
        • List Brand Storefront Links
    • Associate Program
      • Associate Tags
        • Create Associate Tags
        • List Associate Tags
      • Product Links
        • List Associate Links
        • Create Associate Link
    • Reports
      • List Per-Product Attribution Reports
      • List Associate Reports
  • Schemas
    • Schemas
      • Publisher Product List
      • PublisherProductLinkList
      • publisher 发布链接的渠道信息.
      • publisher 商品的报告.
      • Publisher Product
      • Publisher Product Deal
    • PublisherSource
    • PublisherProductReport
    • SellerBrand
    • PublisherDeal
    • PublisherBrand
    • PublisherBrandLink
    • PublisherSubTrackingId
    • PublisherAssociateBrand
    • PublisherAssociateTagsResult
    • PublisherAssociateTag
    • PublisherAssociateLink
    • PublisherAssociateReport
    • PublisherProductLink
    • PublisherSourceList
    • PublisherCreateLinkRequest
    • PublisherProductReportList
    • SellerBrandList
    • PublisherReportPerProduct
    • PublisherDealList
    • PublisherBrandList
    • PublisherCreateBrandLinkRequest
    • PublisherBrandLinkList
    • PublisherPrimaryTrackingId
    • PublisherCreateSubTrackingIdRequest
    • PublisherProductDeal
    • PublisherAssociateBrandList
    • PublisherAssociateTagsRequest
    • PublisherAssociateTagList
    • PublisherCreateAssociateLinkRequest
    • PublisherAssociateReportList
    • PublisherAssociateLinkList
    • PublisherReportList
    • PublisherCreatePrimaryTrackingIdRequest
    • PublisherTrackingIdList
    • PublisherProduct
    • ProductPrice
    • PublisherProductVariationList
  1. Get Started

Pagination

ArtemisAds uses cursor-based pagination for querying large data sets through our APIs. This method provides a reliable and consistent way to iterate through results, especially as data volume changes.

1. How Cursor-Based Pagination Works#

When you make a paginated query, we return a special field, the cursor, in the response. You must use this token in your next request to retrieve the subsequent page of results.
Conditioncursor ValueAction
More results availableA non-null opaque stringInclude this token in the next request to get the following page.
No more resultsnullYou have reached the final page. Stop making requests.
Important Note: When the cursor parameter is set to null or is empty in the request, the API will always return the first page of data.

2. Request Parameters#

To control the pagination, use the following optional query parameters in your API request:
ParameterTypeDefaultDescription
cursorstring(empty/null)The opaque token returned from the previous request's cursor field. Omit this for the first request.
limitinteger100The maximum number of records to return per page.
Example: First Page Request
To fetch the first 50 results (by setting the limit parameter):

3. Response Structure#

The cursor field is located at the root level of the response body.
Example Response (Page 1)
The response for the first request includes the data (e.g., trackingIds) and the cursor for the next page.
{
  "trackingIds": [
    { /* ... tracking object data ... */ },
    // ... other tracking objects
  ],
  "cursor": "eyJpZCI6IjUwMCIsInRpbWUiOiIxNjc5MDU0NzQ2In0=" // Used for the next request
}
Example Response (Last Page)
When no more data is available, the cursor field will be returned null.
{
  "trackingIds": [
    { /* ... final tracking object data ... */ }
  ],
  "cursor": null
}
Modified at 2025-11-11 06:25:08
Previous
Authentication
Next
Rate Limiting
Built with