Web Automation Agent (TinyFish) API
Get Web Automation Agent (TinyFish) data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Tinyfish, pass parameters such as agent_config, goal, url, and retrieve structured data including returned price field, returned product field, reported status, returned error value, and returned finished at field to search interfaces and source review, and integration reference.
- Selected price
- $0.016 / automation stepPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Web Automation Agent (TinyFish) API
Prepare your request, then continue with your agent.
Selected price
$0.016 / automation step
- Provider
- API
- Pricing
On this page
Overview
TinyFish Web Automation Agent API
Execute a natural-language goal on a website and return the final result through the synchronous automation endpoint. Provide url in body, goal in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | body: body |
| Selected implementation | tinyfish · TinyFish Web Automation Agent |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
What You Can Build
- Search interfaces and source review: Keep returned sources and query context together.
- Integration reference: Use the selected request format and keep source identifiers with the returned result.
Documented Response Fields
| Field | Meaning |
|---|---|
result.price |
Returned price field |
result.product |
Returned product field |
status |
Reported status |
error |
Returned error value (nullable in the reference) |
finished_at |
Returned finished at field |
num_of_steps |
Returned num of steps field |
run_id |
Returned run id field |
started_at |
Returned started at field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the JSON body and supported fields shown in the request template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/tinyfish/v1/automation/run' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"agent_config": {
"max_duration_seconds": 90
},
"goal": "Find the pricing page and extract all plan details",
"url": "https://example.com"
}'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Published TinyFish Web Automation Agent API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
tinyfishCurrent TinyFish Web Automation Agent · POST · View API reference | $0.016 / automation step | 0 | —successP50— |
- Unit price
- $0.016
Estimated cost per automation step billing unit. Actual usage is rounded using ceil.
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.
Total $1.6
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/tinyfish/v1/automation/run- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
goal | JSON request bodybody | string | Yes | Natural language description of what to accomplish on the website minLength: 1 |
url | JSON request bodybody | string | Yes | Target website URL to automate format: uri · pattern: ^[Hh][Tt][Tt][Pp][Ss]?:// |
agent_config | JSON request bodybody | object | No | Agent behavior configuration additionalProperties: false Nested fields and variants
|
api_integration | JSON request bodybody | string | No | Name of the integration making this API call (e.g., "dify", "zapier", "n8n"). Used for analytics. |
browser_profile | JSON request bodybody | string | No | Browser profile for execution. LITE uses standard browser, STEALTH uses anti-detection browser. enum: "lite", "stealth" |
capture_config | JSON request bodybody | object | No | Configure which data to capture during the run. additionalProperties: false Nested fields and variants
|
credential_item_ids | JSON request bodybody | array | No | Scope vault credentials to specific credential URIs. Requires use_vault to be true. If omitted with use_vault: true, all enabled items are used. minItems: 1 Nested fields and variants
|
output_schema | JSON request bodybody | object | No | Optional provider-supported structured-output schema subset for the run result. Unsupported fields are rejected before the request is accepted. Nested fields and variants
|
profile_id | JSON request bodybody | string | No | Browser Context Profile ID to use when use_profile is true. minLength: 1 |
proxy_config | JSON request bodybody | object | No | Proxy configuration additionalProperties: false Nested fields and variants
|
use_profile | JSON request bodybody | boolean | No | Opt-in to the default Browser Context Profile if Browser Context Profiles are enabled; legacy callers are silently ignored when the profiles feature is disabled. Returns 400 when enabled but no default profile is set. |
use_vault | JSON request bodybody | boolean | No | Opt-in to vault credentials for this run. When true, enabled vault items are included. Defaults to false. |
webhook_url | JSON request bodybody | string | No | HTTPS URL to receive webhook notifications for run lifecycle events. Must use HTTPS. format: uri · pattern: ^[Hh][Tt][Tt][Pp][Ss]:// |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
errornullfinished_atstringnum_of_stepsintegerresultobjectpricestringproductstring
run_idstringstarted_atstringstatusstring
Usage billing
$0.016 per automation step. Rounding: ceil.
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
body- Execute a natural-language goal on a website and return the final result through the synchronous automation endpoint. Usage is measured by the reported number of steps.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/tinyfish/v1/automation/run' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "agent_config": { "max_duration_seconds": 90 }, "goal": "Find the pricing page and extract all plan details", "url": "https://example.com" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "error": null, "finished_at": "2024-01-01T00:00:30Z", "num_of_steps": 5, "result": { "price": "$799", "product": "iPhone 15" }, "run_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "started_at": "2024-01-01T00:00:00Z", "status": "COMPLETED" }