Discover/Anker API
live

Anker APIanker.com

Search and retrieve Anker product data including prices, variants, images, inventory, and SEO info via two REST endpoints.

Endpoint health
verified 21h ago
get_product
search_products
2/2 passing latest checkself-healing
Endpoints
2
Updated
26d ago

What is the Anker API?

The Anker.com API covers 2 endpoints that return product listings and detailed product records from Anker's online store. Use search_products to query the catalog by keyword with sorting and cursor-based pagination, or get_product to pull a full record by product handle — including all variants, SKUs, inventory counts, price ranges, and SEO metadata.

Try it
Sort order for results
Cursor for next page pagination (from end_cursor in previous response)
Number of results per page (1-50)
Search keyword
api.parse.bot/scraper/cbd520fd-535d-46f5-9349-d3e3163b3784/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/cbd520fd-535d-46f5-9349-d3e3163b3784/search_products?sort=RELEVANCE&limit=5&query=charger' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace anker-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Anker product search — find chargers, compare prices, drill into details."""
from parse_apis.anker_product_search_api import Anker, Sort, ProductNotFound

client = Anker()

# Search for USB-C chargers sorted by price, capped at 5 results total.
for product in client.products.search(query="usb-c charger", sort=Sort.PRICE_ASC, limit=5):
    print(product.title, product.price.min, product.price.currency, product.available)

# Drill into the first result's full details via .details() navigation.
summary = client.products.search(query="power bank", limit=1).first()
if summary:
    full = summary.details()
    print(full.title, full.description_html[:100])
    for variant in full.variants[:3]:
        print(variant.sku, variant.price, variant.quantity_available)

# Fetch a known product directly by handle.
try:
    product = client.products.get(handle="a2656")
    print(product.title, product.price.min, product.price.max)
    for opt in product.options:
        print(opt.name, opt.values)
except ProductNotFound as exc:
    print(f"Product not found: {exc.handle}")

print("exercised: products.search / summary.details / products.get / ProductNotFound")
All endpoints · 2 totalmissing one? ·

Full-text search over Anker's product catalog. `query` matches product titles, descriptions, and tags. `sort` controls result ordering. Paginates via cursor (`after`). Each ProductSummary exposes a `.details()` navigation to the full Product.

Input
ParamTypeDescription
sortstringSort order for results
afterstringCursor for next page pagination (from end_cursor in previous response)
limitintegerNumber of results per page (1-50)
querystringSearch keyword
Response
{
  "type": "object",
  "fields": {
    "query": "string - search query used",
    "products": "array of product summary objects with id, handle, title, price, availability, variants",
    "end_cursor": "string or null - cursor for fetching next page",
    "total_count": "integer - total matching products",
    "start_cursor": "string or null - cursor for current page start",
    "has_next_page": "boolean - whether more results are available",
    "has_previous_page": "boolean - whether previous page exists"
  },
  "sample": {
    "data": {
      "query": "charger",
      "products": [
        {
          "id": "gid://shopify/Product/8350760730774",
          "url": "https://www.anker.com/products/anker-nano-charger-30w-2-bundle",
          "tags": [
            "2410apple",
            "AnkerChargers"
          ],
          "price": {
            "max": "31.98",
            "min": "31.98",
            "currency": "USD"
          },
          "title": "Anker Nano Charger (30W, 2-Pack)",
          "handle": "anker-nano-charger-30w-2-bundle",
          "images": [
            "https://cdn.shopify.com/s/files/1/0493/9834/9974/files/SKU-04-Phantom_Black_3.png?v=1740137317"
          ],
          "rating": null,
          "vendor": "beta-anker-us",
          "options": [
            {
              "name": "Style",
              "values": [
                "Phantom Black Charger * 2",
                "Aurora White Charger * 2"
              ]
            }
          ],
          "variants": [
            {
              "id": "gid://shopify/ProductVariant/44465729667222",
              "sku": "BUNDLE-A2147113-2",
              "image": "https://cdn.shopify.com/s/files/1/0493/9834/9974/files/SKU-04-Phantom_Black_3.png?v=1740137317",
              "price": "31.98",
              "title": "Phantom Black Charger * 2",
              "available": false,
              "compare_at_price": null,
              "selected_options": [
                {
                  "name": "Style",
                  "value": "Phantom Black Charger * 2"
                }
              ]
            }
          ],
          "available": true,
          "description": "Small Yet Powerful...",
          "product_type": "charging only",
          "published_at": "2025-02-24T06:54:28Z",
          "featured_image": "https://cdn.shopify.com/s/files/1/0493/9834/9974/files/SKU-04-Phantom_Black_3.png?v=1740137317"
        }
      ],
      "end_cursor": "eyJwYWdlIjoyLCJsYXN0X2lkIjo4MzI4Mzc5NTMxNDE0LCJyZXZlcnNlIjp0cnVlLCJvZmZzZXQiOjR9",
      "total_count": 189,
      "start_cursor": "eyJwYWdlIjoxLCJsYXN0X2lkIjo4MzUwNzYwNzMwNzc0LCJyZXZlcnNlIjp0cnVlLCJvZmZzZXQiOjB9",
      "has_next_page": true,
      "has_previous_page": false
    },
    "status": "success"
  }
}

About the Anker API

Endpoints and What They Return

The search_products endpoint accepts a query string and returns an array of product objects, each containing an id, handle, title, available flag, price, images, and variants. You can control sort order with the sort parameter (RELEVANCE, PRICE_ASC, or PRICE_DESC), limit results per page (1–50), and page through large result sets using the after cursor returned in the pagination object. The total_count field tells you how many products matched your query.

Product Detail Fields

The get_product endpoint takes a handle — the URL slug such as a2656 from anker.com/products/a2656 — and returns the full product record. This includes a seo object (title and description), the canonical url, product tags, a price range with min, max, and currency, an options array describing selectable attributes (e.g. color, capacity), and a variants array. Each variant exposes its own id, title, sku, price, availability, and inventory count.

Pagination and Handles

Pagination in search_products is cursor-based: pass the end_cursor from one response as the after parameter in the next request to advance pages. The handle values needed for get_product are surfaced directly in search results, so a typical workflow is to search first, collect handles, and then fetch full records individually.

Reliability & maintenanceVerified

The Anker API is a managed, monitored endpoint for anker.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when anker.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official anker.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
21h ago
Latest check
2/2 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track price changes for Anker charging accessories by polling get_product on specific handles
  • Build a product comparison tool by fetching variant-level SKUs and prices across charger lines
  • Sync Anker catalog data — titles, images, and availability — into an affiliate or review site
  • Monitor inventory status across all variants of a given product using the inventory field in get_product
  • Search for products by keyword and sort by price to surface the cheapest available options
  • Extract product tags and SEO metadata to classify and index Anker products in a third-party catalog
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Anker have an official public developer API?+
Anker does not publish a public developer API or documentation for third-party programmatic access to their product catalog.
What does the `variants` array in `get_product` include?+
Each variant object includes an id, human-readable title, sku, price, availability boolean, and an inventory count. This lets you distinguish between, say, a 65W and a 120W version of the same charger and know which are currently in stock.
How does pagination work in `search_products`?+
The response includes a pagination object with has_next_page, has_previous_page, end_cursor, and start_cursor. To fetch the next page, pass the end_cursor value as the after parameter in your next request. There is no offset-based paging.
Does the API return customer reviews or ratings for Anker products?+
No — the current endpoints cover product titles, prices, variants, images, tags, inventory, and SEO fields. Customer reviews and ratings are not returned. You can fork this API on Parse and revise it to add an endpoint that fetches review data for a given product handle.
Is product availability data real-time?+
The available flag in search results and the per-variant availability and inventory fields in get_product reflect the state of the Anker store at the time of each API call. There is no push or webhook mechanism, so freshness depends on how frequently you poll.
Page content last updated . Spec covers 2 endpoints from anker.com.
Related APIs in EcommerceSee all →
amzn.to API
Search Amazon products and retrieve detailed information including pricing, reviews, and specifications, plus discover current best sellers across categories. Get real-time product data to compare options and find trending items on Amazon.
brookstone.com API
Search and browse Brookstone's catalog of products with full-text search, filters, sorting, and pagination to find exactly what you need. Get instant search suggestions and access detailed product information including pricing, descriptions, and availability.
amazon.com API
Search and browse Amazon products, reviews, offers, and deals, then manage your shopping cart all through a single integration. Get detailed product information, seller profiles, and best sellers to compare prices and make informed purchasing decisions.
corsair.com API
Search and filter Corsair's gaming peripherals and PC components catalog by keywords, category, and product attributes like price and specs. Browse detailed product information, compare options, and easily navigate through results with sorting and pagination to find exactly what you need.
verkkokauppa.com API
Search and browse products from Verkkokauppa.com to find items across categories, check real-time prices and availability, read customer reviews, and discover deals in outlet and clearance sections. Filter products by your preferences and get detailed product information including specifications and store stock levels.
euronics.it API
Browse and search the complete Euronics Italy product catalog with real-time pricing information across all categories. Find exactly what you're looking for with powerful keyword search or explore products by category with full pagination support.
emag.ro API
Access product data from eMAG.ro, Romania's largest online retailer. Search by keyword, browse categories, retrieve product details and reviews, and look up seller information.
amazon.co.uk API
Access data from amazon.co.uk.