A method is one thing a website can do, as an API call: it reads data there (read) or does something there (write). Each has a slug, a typed input and output, and a versioned contract. Your organization stays on the version it first ran until it switches.
bestbuy.com/search_productsreadSearches Best Buy US products with an optional price range, sort order and page. Prices and availability come from public listings and may vary by location.
- Input
querymax_pricemin_pricesortpagemax_results- Output
products[]product_namebrandpriceregular_pricesavingsstar_ratingnumber_of_reviewsproduct_link6 more
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "method": "bestbuy.com/search_products", "input": { "query": "noise cancelling headphones", "max_price": 300, "max_results": 3 } }'{ "id": "run_01m69bharefzksdegfx9r93fzd", "status": "completed", "method": { "slug": "bestbuy.com/search_products" , "version": 1 }, "data": { "products": [ { "product_name": "Bose - QuietComfort Wireless Noise Cancelling Over-the-Ear Bluetooth Headphones - Sandstone", "price": 169, "regular_price": 359, "star_rating": 4.8 } ] }, "truncated": false, "cost": { "credits": 1 }, "duration_ms": 451}A run returns an id, the method and version that ran, data in the shape of the output schema, and its cost: 1 credit.
Manual and Auto
In Manual you pick the method: search, read the results, and run the one that fits with your own input. You get exactly that method's output.
GET /v1/searchNoise-cancelling headphones under $300
bestbuy.com/search_productsYou pick this one
bhphotovideo.com/search_productsB&H Photo
newegg.com/search_productsNewegg
POST /v1/runsquery noise cancelling headphonesmax_price 300max_results 3| Bose - QuietComfort Wireless Noise Cancelling Over-the-Ear Bluetooth Headphones - Sandstone | $359 | $169 |
| JLab - JBuds Lux ANC Wireless Bluetooth Over-Ear Headphones with Active Noise Cancelling, Spatial Audio & 70+ Hour Battery - Graphite | $84.99 | $39.99 |
| Sony - WHCH720N Wireless Noise Cancelling Headphones - Black | $178 | $88 |
In Auto you describe what you want in plain words. Fous finds the methods, fills their inputs, runs up to three of them and returns one result, for 5 credits.
POST /v1/runsDriving directions from SFO to Stanford University
origin San Francisco International Airport (SFO)destination Stanford Universitytravel_mode drivingavoid none| US-101 S | 21.4 mi | 27 min |
| US-101 S and Willow Rd | 20.7 mi | 27 min |
| US-101 S, Willow Rd and Hawthorne Ave | 20.7 mi | 27 min |
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "query": "Driving directions from SFO to Stanford University" }'Other terms
| Term | What it is |
|---|---|
| Run | One call of a method, or one query. Slow ones keep running; read them by id. |
| Build | Makes or changes a method from a request in plain words. |
| Connection | Your login on a site, or its API key, that its methods run with. |
| Credits | Pay for runs and queries. Search and contracts are free. |
Where to start
Connect an AI agent such as Claude Code, Codex or Cursor, follow the Quickstart for the HTTP API, or try both modes without code in Studio.