Discover/Swiftsbuygh API
live

Swiftsbuygh APIswiftsbuygh.com ↗

Access SwiftBuy GH product data via API: names, GHS prices, stock, ratings, variations, and categories. 3 endpoints for catalog search and product detail.

Endpoint health
verified 43m ago
search_products
get_product
list_categories
3/3 passing latest checkself-healing
Endpoints
3
Updated
2h ago

What is the Swiftsbuygh API?

The SwiftBuy GH API exposes 3 endpoints covering the swiftsbuygh.com product catalog, returning names, GHS prices, stock levels, ratings, sales counts, image URLs, and purchasable variation options. Use search_products to paginate and filter the full catalog by keyword or category, get_product to retrieve a complete single-product record including per-option stock, and list_categories to enumerate the site's category tree for use as filter values.

This call costs1 credit / call— charged only on success
Try it
1-based page number.
Sort key forwarded to the site. Confirmed values: latest, bestselling, toprated, popular. Omitted = the site's default ordering (newest first).
Products per page, 1-100 (values above 100 are clamped).
Free-text product name search (case-insensitive substring match on the site). Omitted = all products.
Category name filter, exactly as returned by list_categories.categories[*].name (e.g. Fashion). Omitted = all categories. An unknown name yields an empty result.
→ api.parse.bot/scraper/a2afd734-4f4f-4cf5-8393-838193b61a4d/<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/a2afd734-4f4f-4cf5-8393-838193b61a4d/search_products?query=chain' \
  -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 swiftsbuygh-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: SwiftBuy GH catalog — browse categories, search, and drill into product details."""
from parse_apis.swiftsbuygh_com_api import SwiftBuy, ProductNotFound

client = SwiftBuy()

# Browse available product categories.
for cat in client.categories.list(limit=5):
    print(cat.name, f"({len(cat.subcategories)} subcategories)")

# Pick the first category and search for products in it.
first_cat = client.categories.list(limit=1).first()
if first_cat is not None:
    for product in client.products.search(category=first_cat.name, limit=5):
        print(product.name, f"GHS {product.price}", product.stock_status)

# Search by keyword and drill into the first hit's full detail.
hit = client.products.search(query="chain", limit=1).first()
if hit is not None:
    detail = client.products.get(product_id=hit.product_id)
    print(detail.name, f"GHS {detail.price}", detail.rating, detail.estimated_delivery)

    # Show purchasable variations when present.
    for var in detail.variations:
        opts = ", ".join(f"{o.value} (+{o.price_modifier})" for o in var.options)
        print(f"  {var.label}: {opts}")

# Point lookup with error handling for an unknown id.
try:
    client.products.get(product_id="doesnotexist")
except ProductNotFound:
    print("product not found — expected for an invalid id")

print("exercised: categories.list / products.search / products.get / product.refresh")
All endpoints · 3 totalmissing one? ·

Returns one page of catalog products, each with its name, price (GHS), category, stock status, rating, sales count, image URLs and variations. Optionally filters by a free-text name search and/or a category name (as listed by list_categories), and orders results with a sort key. Paginates with page and limit: page defaults to 1, limit defaults to 20 and is capped at 100; has_more is true while page < total_pages. total is the site's count of matching products. A search with no matches is a valid empty result (products: [], total: 0). One round trip per call.

Input
ParamTypeDescription
pageinteger1-based page number.
sortstringSort key forwarded to the site. Confirmed values: latest, bestselling, toprated, popular. Omitted = the site's default ordering (newest first).
limitintegerProducts per page, 1-100 (values above 100 are clamped).
querystringFree-text product name search (case-insensitive substring match on the site). Omitted = all products.
categorystringCategory name filter, exactly as returned by list_categories.categories[*].name (e.g. Fashion). Omitted = all categories. An unknown name yields an empty result.
Response
{
  "type": "object",
  "fields": {
    "page": "current 1-based page",
    "sort": "echoed sort key or null",
    "limit": "effective page size after clamping",
    "query": "echoed search text or null",
    "total": "site-reported total number of matching products",
    "category": "echoed category filter or null",
    "has_more": "true when a following page exists",
    "products": "array of product records: product_id, name, slug, description, price (GHS number), original_price (null unless discounted), discount_percentage, currency, category, subcategory (null when none), stock_status, items_left, rating (null when unrated), sales_count, estimated_delivery, image_count, images (absolute URLs; inline-embedded images are omitted), variations (type, label, required, options[value, price_modifier, stock]), created_at, updated_at, url",
    "total_pages": "site-reported number of pages at this limit"
  },
  "sample": {
    "data": {
      "page": 2,
      "sort": null,
      "limit": 5,
      "query": "chain",
      "total": 7,
      "category": null,
      "has_more": false,
      "products": [
        {
          "url": "https://swiftsbuygh.com/product/19yerrllw",
          "name": "SMART WATCH + WRIST CHAIN",
          "slug": "smart-watch-wrist-chain",
          "price": 23,
          "images": [],
          "rating": null,
          "category": "beauty and personal care",
          "currency": "GHS",
          "created_at": "2026-05-17T01:58:09.000Z",
          "items_left": 1000,
          "product_id": "19yerrllw",
          "updated_at": "2026-08-04T22:15:20.000Z",
          "variations": [],
          "description": "COMBO FOR ALL",
          "image_count": 1,
          "sales_count": 23,
          "subcategory": null,
          "stock_status": "In Stock",
          "original_price": null,
          "estimated_delivery": "45-50 Days",
          "discount_percentage": 0
        }
      ],
      "total_pages": 2
    },
    "status": "success"
  }
}

About the Swiftsbuygh API

Catalog Search and Filtering

The search_products endpoint accepts a free-text query for case-insensitive name matching and a category parameter that takes exact names as returned by list_categories. Results can be sorted by latest, bestselling, toprated, or popular. Pagination is controlled via page and limit (1–100 products per page, values above 100 are clamped). Each response includes a total count, total_pages, and a has_more flag so you can walk the full result set programmatically.

Product Records

Each item in search_products returns product_id, name, slug, price (in GHS), original_price (non-null only when a discount applies), rating, sales count, image URLs, and variation metadata. Passing a product_id to get_product returns the full single-product record, which adds items_left (remaining inventory), the currency field, and a variations array. Each variation entry includes a type, label, required flag, and an options array where each option carries a value, price_modifier, and per-option stock.

Category Tree

list_categories takes no inputs and returns the complete category hierarchy: an array of objects each with category_id, name, and a subcategories array of {subcategory_id, name} pairs. Category names from this response are the exact strings accepted by search_products's category filter. Subcategory arrays may be empty for top-level categories with no children.

Data Coverage Notes

All prices are denominated in GHS (Ghanaian cedi) as reported on the site. The rating field is null for products that have not yet been rated. The original_price field is null unless the product is currently on discount, making it straightforward to identify and filter sale items.

Reliability & maintenanceVerified

The Swiftsbuygh API is a managed, monitored endpoint for swiftsbuygh.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when swiftsbuygh.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 swiftsbuygh.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
43m ago
Latest check
3/3 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
  • Build a price tracker that monitors GHS price changes and discount appearances on SwiftBuy GH products over time
  • Populate a product comparison tool using price, rating, and variation data returned by get_product
  • Sync a local inventory database with stock levels and items_left counts from the catalog
  • Generate a category-browsing interface using the nested category tree from list_categories
  • Identify bestselling or top-rated products by sorting search_products with the bestselling or toprated sort keys
  • Alert customers when a specific product_id comes back into stock based on items_left transitioning from zero
  • Aggregate sales count data across categories to analyze demand patterns on the platform
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does swiftsbuygh.com have an official developer API?+
No public developer API or documented REST interface is listed on swiftsbuygh.com. This Parse API provides structured access to the product catalog data available on the site.
How do I filter search_products to a specific category?+
Call list_categories first to retrieve category names, then pass the exact name string (e.g. 'Fashion') as the category parameter in search_products. The filter is case-sensitive and must match the name field from list_categories exactly.
What does the variations array in get_product contain?+
Each element in the variations array represents one option group — for example, size or color — and includes a type, label, required flag, and an options array. Each option within that array carries a value (e.g. 'XL'), a price_modifier (the price delta for that option), and a per-option stock count.
Does the API return seller profiles, reviews text, or order/checkout data?+
Not currently. The API covers product names, GHS prices, stock, ratings (numeric average), sales counts, images, categories, and purchasable variations. Seller profiles, individual review text, and checkout or order data are not included in any current endpoint. You can fork this API on Parse and revise it to add an endpoint targeting those data points.
Is product data paginated, and can I retrieve all products in one call?+
search_products is paginated. The maximum limit per page is 100 (higher values are clamped to 100). Use the total_pages and has_more fields from each response to iterate through subsequent pages until the full catalog is retrieved.
Page content last updated . Spec covers 3 endpoints from swiftsbuygh.com.
Related APIs in EcommerceSee all →
jumia.com.gh API
Browse and search thousands of products from Jumia Ghana's catalog, view detailed product information, and explore items across different categories. Get real-time search suggestions and instantly access pricing, descriptions, and availability for any item on Ghana's leading e-commerce platform.
spycart.me API
Access data from Spycart.me.
gorgia.ge API
Search for home improvement and electronics products on gorgia.ge and retrieve detailed information like prices, specifications, and availability for items sold by this Georgian retailer. Easily browse thousands of products across categories to compare options and find what you need.
swaghq.com API
Browse SwagHQ's complete product catalog by category or brand, search for specific items, and view detailed product information including color variants, inventory levels by size, quantity-based pricing, and logo customization options. Easily navigate paginated product collections with filtering to find exactly what you need.
backmarket.co.uk API
Access data from backmarket.co.uk.
dsw.com API
Search and browse DSW shoe products by category, view detailed product information, and read customer reviews to find the perfect pair. Access live product listings and comprehensive feedback to make informed shopping decisions.
proshop.no API
Access data from proshop.no.
banggood.com API
Search Banggood products and retrieve detailed information including prices, specifications, and customer reviews to help you discover items and make informed purchasing decisions. Perfect for monitoring inventory, comparing products, and staying updated on what's available across Banggood's catalog.