Web Automation Agent (TinyFish)
Execute a goal-directed website workflow with TinyFish and return its final result. Supply a goal and a URL. Sample fields include prices. Use it to integrate the capability into a content workflow.
- Selected price
- $0.016 / automation stepPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
tinyfishCurrent TinyFish Web Automation Agent · POST | $0.016 / automation step | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
errornullfinished_atstringnum_of_stepsintegerresultobjectpricestringproductstring
run_idstringstarted_atstringstatusstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
error?: null;
finished_at?: string;
num_of_steps?: number;
result?: {
price?: string;
product?: string;
};
run_id?: string;
started_at?: string;
status?: string;
};- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/tinyfish/v1/automation/run- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
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"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
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
|
goal | JSON request bodybody | string | Yes | Natural language description of what to accomplish on the website minLength: 1 |
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
|
url | JSON request bodybody | string | Yes | Target website URL to automate format: uri · pattern: ^[Hh][Tt][Tt][Pp][Ss]?:// |
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.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"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"
}Usage billing
$0.016 per automation step. Rounding: ceil.
Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Web Automation Agent (TinyFish)
Execute a goal-directed website workflow with TinyFish and return its final result. Supply a goal and a URL. Sample fields include prices. Use it to integrate the capability into a content workflow.
## Available implementations
tinyfish · TinyFish Web Automation Agent: https://openany.si/markets/apis/capabilities/web-automation-agent-tinyfish?offering=6416a40d-7561-403d-80b6-1aca3586de16 · $0.016 / automation step
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/web-automation-agent-tinyfish
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/tinyfish/v1/automation/run
Price: $0.016 / automation step
Provider: tinyfish
Contract revision: 4
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
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"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "TinyFish Web Automation Agent",
"endpoint": "https://api.openany.si/v1/agent-apis/tinyfish/v1/automation/run",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "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.",
"json_schema": {
"additionalProperties": false,
"allOf": [
{
"if": {
"required": [
"profile_id"
]
},
"then": {
"properties": {
"use_profile": {
"const": true
}
},
"required": [
"use_profile"
]
}
},
{
"if": {
"required": [
"credential_item_ids"
]
},
"then": {
"properties": {
"use_vault": {
"const": true
}
},
"required": [
"use_vault"
]
}
}
],
"properties": {
"agent_config": {
"additionalProperties": false,
"description": "Agent behavior configuration",
"properties": {
"cursor_style": {
"description": "Cursor style for the browser agent.",
"enum": [
"fish",
"standard",
"green-pointer"
],
"example": "standard",
"type": "string"
},
"max_duration_seconds": {
"description": "Maximum wall-clock seconds before the agent stops. Defaults to no limit.",
"example": 300,
"minimum": 1,
"type": "integer"
},
"max_steps": {
"description": "Maximum tool-call steps before the agent stops. Defaults to 150.",
"example": 50,
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"mode": {
"description": "Agent behavior mode. \"strict\" enables fail-fast for test automation.",
"enum": [
"default",
"strict"
],
"example": "strict",
"type": "string"
}
},
"type": "object"
},
"api_integration": {
"description": "Name of the integration making this API call (e.g., \"dify\", \"zapier\", \"n8n\"). Used for analytics.",
"example": "dify",
"type": "string"
},
"browser_profile": {
"description": "Browser profile for execution. LITE uses standard browser, STEALTH uses anti-detection browser.",
"enum": [
"lite",
"stealth"
],
"example": "lite",
"type": "string"
},
"capture_config": {
"additionalProperties": false,
"description": "Configure which data to capture during the run.",
"properties": {
"elements": {
"type": "boolean"
},
"html": {
"type": "boolean"
},
"recording": {
"type": "boolean"
},
"screenshots": {
"type": "boolean"
},
"snapshots": {
"type": "boolean"
}
},
"type": "object"
},
"credential_item_ids": {
"description": "Scope vault credentials to specific credential URIs. Requires use_vault to be true. If omitted with use_vault: true, all enabled items are used.",
"example": [
"cred:conn-abc:Work:item-123",
"cred:conn-def:Personal:item-456"
],
"items": {
"minLength": 1,
"type": "string"
},
"minItems": 1,
"type": "array"
},
"goal": {
"description": "Natural language description of what to accomplish on the website",
"example": "Find the pricing page and extract all plan details",
"minLength": 1,
"type": "string"
},
"output_schema": {
"additionalProperties": {},
"description": "Optional provider-supported structured-output schema subset for the run result. Unsupported fields are rejected before the request is accepted.",
"example": {
"properties": {
"price": {
"type": "number"
},
"title": {
"type": "string"
}
},
"required": [
"title",
"price"
],
"type": "object"
},
"properties": {},
"type": "object"
},
"profile_id": {
"description": "Browser Context Profile ID to use when use_profile is true.",
"example": "prof_abc123def4567890",
"minLength": 1,
"type": "string"
},
"proxy_config": {
"additionalProperties": false,
"description": "Proxy configuration",
"properties": {
"country_code": {
"description": "Proxy exit country (ISO 3166-1 alpha-2). Defaults to US.",
"example": "US",
"type": "string"
},
"enabled": {
"description": "Enable proxy for this automation run",
"example": true,
"type": "boolean"
}
},
"required": [
"enabled"
],
"type": "object"
},
"url": {
"description": "Target website URL to automate",
"example": "https://example.com",
"format": "uri",
"pattern": "^[Hh][Tt][Tt][Pp][Ss]?://",
"type": "string"
},
"use_profile": {
"description": "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.",
"example": true,
"type": "boolean"
},
"use_vault": {
"description": "Opt-in to vault credentials for this run. When true, enabled vault items are included. Defaults to false.",
"example": true,
"type": "boolean"
},
"webhook_url": {
"description": "HTTPS URL to receive webhook notifications for run lifecycle events. Must use HTTPS.",
"format": "uri",
"pattern": "^[Hh][Tt][Tt][Pp][Ss]://",
"type": "string"
}
},
"required": [
"url",
"goal"
],
"type": "object"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "object"
}
],
"billing": {
"currency": "USD",
"mode": "usage",
"priceMicroUsd": "16000",
"rounding": "ceil",
"unit": "step",
"unitQuantity": "1"
},
"examples": [
{
"http_status": 200,
"name": "Official example",
"request": {
"body": {
"agent_config": {
"max_duration_seconds": 90
},
"goal": "Find the pricing page and extract all plan details",
"url": "https://example.com"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"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"
}
}
]
}
```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. |
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" }
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use Web Automation Agent (TinyFish) with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.