๋ณธ๋ฌธ์œผ๋กœ ๊ฑด๋„ˆ๋›ฐ๊ธฐ
ๅฐ้พ™่™พๅฐ้พ™่™พAI
๐Ÿค–

Scout Commerce

Search for products on Amazon/shopify and buy with USDC on Solana. Swap tokens using Jupiter.

ไธ‹่ฝฝ1.3k
ๆ˜Ÿๆ ‡0
็‰ˆๆœฌ1.1.0
ๆœ็ดข็ ”็ฉถ
ๅฎ‰ๅ…จ้€š่ฟ‡

ๆŠ€่ƒฝ่ฏดๆ˜Ž


name: scout-commerce version: 1.1.0 description: Search for products on Amazon/shopify and buy with USDC on Solana. Swap tokens using Jupiter. homepage: https://scout.trustra.xyz metadata: {"emoji":"๐Ÿ›’","category":"shopping","api_base":"https://scout-api.trustra.xyz/api/v2"}

Scout ๐Ÿ›’

Buy from Amazon & Shopify with USDC. Swap tokens via Jupiter. US shipping only.

Presenting Products (Important!)

Search results: For each recommended product, send the image as actual media (not markdown links) with the product details as the caption. One product per message so images render properly.

Product details: When showing details, send images as media attachments alongside the text. The API returns images in the same response โ€” use them immediately, don't make the user ask.

Why: Markdown image links (![](url)) don't render on Telegram/messaging platforms. Always send images as actual media using the message tool with media parameter, or via inline if supported.

Quick Reference

Setup (once) โ†’ python get_api_key.py --email ... --address "..."

Find products โ†’ python search.py "gaming mouse under $50"

Get Product details โ†’ python product.py amazon:B07GBZ4Q68

Check Wallet balance โ†’ python balance.py (shows all tokens)

Buy product โ†’ python buy.py amazon:B07GBZ4Q68

Check order โ†’ python order_status.py ord_abc123

List orders โ†’ python order_status.py --list

Swap tokens โ†’ python swap.py SOL USDC 5 (min $5)

Get swap quote โ†’ python swap.py --quote SOL USDC 5

List wallet tokens โ†’ python swap.py --list

All commands run from scripts/ folder. API key loads automatically from credentials.json.

Setup (one-time)

python get_api_key.py --email <EMAIL> --address "<NAME>,<STREET>,<CITY>,<STATE>,<ZIP>,<COUNTRY>"

Creates a Crossmint wallet + API key and stores them in credentials.json. Fund the wallet with USDC to buy.

Keep API key secure - it authorizes transactions from your wallet.

Commands

CommandUsage
Searchpython search.py "query"
Detailspython product.py amazon:B07GBZ4Q68
Balancepython balance.py (all tokens) or balance.py --usdc
Buypython buy.py amazon:B07GBZ4Q68
Orderspython order_status.py --list or order_status.py <orderId>
Swappython swap.py SOL USDC 5 (min $5 for gasless)
Quotepython swap.py --quote SOL USDC 5
Tokenspython swap.py --list

Supported tokens: SOL, USDC, USDT, BONK, TRUST โ€” or use any mint address directly.

Workflow

  1. No credentials? โ†’ get_api_key.py (creates wallet + API key)
  2. No balance? โ†’ Fund wallet address shown by balance.py
  3. Ready to buy โ†’ buy.py <locator>

Errors

ErrorFix
INSUFFICIENT_BALANCEFund wallet (balance.py shows address)
No API key foundRun get_api_key.py
OUT_OF_STOCKSearch for alternatives
OVER_LIMITMax $1,500 per order

Credentials (credentials.json)

{
  "api_key": "scout_sk_...",
  "wallet_address": "FtbC9x5...",
  "shipping_profile": { "email": "...", "address": "..." }
}

Never share the API key.

ๅฆ‚ไฝ•ไฝฟ็”จใ€ŒScout Commerceใ€๏ผŸ

  1. ๆ‰“ๅผ€ๅฐ้พ™่™พAI๏ผˆWeb ๆˆ– iOS App๏ผ‰
  2. ็‚นๅ‡ปไธŠๆ–นใ€Œ็ซ‹ๅณไฝฟ็”จใ€ๆŒ‰้’ฎ๏ผŒๆˆ–ๅœจๅฏน่ฏๆก†ไธญ่พ“ๅ…ฅไปปๅŠกๆ่ฟฐ
  3. ๅฐ้พ™่™พAI ไผš่‡ชๅŠจๅŒน้…ๅนถ่ฐƒ็”จใ€ŒScout Commerceใ€ๆŠ€่ƒฝๅฎŒๆˆไปปๅŠก
  4. ็ป“ๆžœๅณๆ—ถๅ‘ˆ็Žฐ๏ผŒๆ”ฏๆŒ็ปง็ปญๅฏน่ฏไผ˜ๅŒ–

็›ธๅ…ณๆŠ€่ƒฝ