app.redcircleapi.com for a key, then pass it as the api_key query parameter. RedCircle is a credit-metered API: every retrieved page costs one credit, and the account response reports what is left. Things to know before you call:
- Sorting and delivery values.
sort_bytakesbest_seller,price_high_to_low,price_low_to_high,best_match,highest_rating,newly_listedorfeatured;delivery_typetakesin_store_pickup,same_day_delivery,buy_at_storeorship_to_home. - One route does the product work.
GET /requestis discriminated bytype:product,searchorreviewsin this plugin. Each has its own typed operation and pins thetypevalue, so an invalid one cannot be sent. - Each page costs a credit.
max_pageretrieves several pages and concatenates them in one response, which is convenient but multiplies the cost; it is capped here, and a request that yields fewer pages than asked is charged only for what it returned. - A
402is a spent balance. It means the credits are exhausted or there is a payment problem, and no retry fixes it. The plugin matches it before the rate-limit handler and stops immediately. - A
503is a parsing incident. RedCircle raises it deliberately so it never serves unstable data, the body says the request was not charged, and it carriesretry_afterin seconds. The plugin retries delays up to 30 seconds. Longer delays are returned immediately on the error for the caller to schedule. - Paging is
page, and the response says where you are.pagination.current.pageandpagination.next.pageare returned ascurrent_pageandnext_page, withtotal_pagesandtotal_results.next_pageis null on the last page. - Some routes do not page.
/categorieshas no pagination at all; it returnscategories(withparent_idorsearch_term) or a singlecategory. - The account route echoes the key. RedCircle returns
account_info.api_key; the plugin strips it before the output parse, so it cannot reach a caller or a log. - The demo key is limited.
api_key=demoworks on/requestand/accountbut answers 401 on other routes, which reads as an auth failure — check the message, not just the status.
- 5 typed API operations
Setup
1
Install
2
Add the plugin
corsair.ts
multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.3
Choose authentication
- API Key (Recommended)
No setup required yet. When you make your first request as a tenant, Corsair prompts for the API key.More: API Key
4
Connect a tenant
Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.
Example API calls
Search Target for highlighter pensWhat’s next
API reference
Every
redcircle.api.* operation with input and output types.Connect / OAuth
createLink, Hub delivery, and tenant connect flows.
Use with agents
Expose this plugin’s operations as MCP tools.