Paid Suggest proxy via x402 pay-per-use (HTTP 402).
Prerequisites: This skill requires x402-payment. Complete the setup steps before first use.
Security: Documentation only — no executable code or credentials. Wallet/keys stay on your machine; never stored here.
RoleDomainAPI Providerhttps://www.cpbox.ioFacilitatorhttps://www.cppay.finance
http
GET /api/x402/suggest
402 Payment Required with requirements JSONPAYMENT-SIGNATURE -> result JSONWith @springmint/x402-payment or x402-sdk-go, payment is automatic.
bash
curl -s "https://www.cpbox.io/api/x402/suggest?q=how+to+" \
-H "Accept: application/json"
bash
curl -s "https://www.cpbox.io/api/x402/suggest" \
-H "Accept: application/json" \
-G \
--data-urlencode "q=albert" \
--data-urlencode "country=US" \
--data-urlencode "lang=en" \
--data-urlencode "count=10" \
--data-urlencode "rich=true"
bash
npx @springmint/x402-payment \
--url "https://www.cpbox.io/api/x402/suggest?q=albert&rich=true&count=10" \
--method GET
Optional Headers:
Accept-Encoding: gzip — Enable response compressionParameterTypeRequiredDefaultDescriptionqstringYes—Suggest search query (1-400 chars, max 50 words)langstringNoenLanguage preference (2+ char language code, e.g. fr, de, zh-hans)countrystringNoUSSearch country (2-letter country code or ALL)countintNo5Number of suggestions (1-20). Actual results may be fewerrichboolNofalseEnhance with entity info (title, description, image). Paid Search plan required
FieldTypeDescriptiontypestringAlways "suggest"``query.originalstringThe original suggest search queryresultsarrayList of suggestions (may be empty)results[].querystringSuggested query completionresults[].is_entitybool?Whether the suggested enriched query is an entity (rich only)results[].titlestring?The suggested query enriched title (rich only)results[].descriptionstring?The suggested query enriched description (rich only)results[].imgstring?The suggested query enriched image URL (rich only)
Fields with null values are excluded from the response. Non-rich results contain only the query field.
rich=true)#json
{
"type": "suggest",
"query": { "original": "albert" },
"results": [
{
"query": "albert einstein",
"is_entity": true,
"title": "Albert Einstein",
"description": "German-born theoretical physicist",
"img": "https://imgs.search.provider/..."
},
{ "query": "albert einstein quotes", "is_entity": false }
]
}
web-search or llm-context.rich=true to detect entities with title, description, and image for preview cards.