OpenAny
Get API keyAPI Key
APIAI GenerationDeveloper

web logo
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
USE THIS API

Web Automation Agent (TinyFish) API

Prepare your request, then continue with your agent.

Selected price

$0.016 / automation step

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Web Automation Agent (TinyFish) API

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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the JSON body and supported fields shown in the request template.
  3. Check the HTTP response and business result before reading optional fields.
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"
}'

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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body*object

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.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
tinyfishCurrent
TinyFish Web Automation Agent · POST · View API reference
$0.016 / automation step0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · tinyfishUSD / automation step
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.

× automation step

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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
goalJSON request bodybodystringYes

Natural language description of what to accomplish on the website

minLength: 1

urlJSON request bodybodystringYes

Target website URL to automate

format: uri · pattern: ^[Hh][Tt][Tt][Pp][Ss]?://

agent_configJSON request bodybodyobjectNo

Agent behavior configuration

additionalProperties: false

Nested fields and variants
body.agent_config.cursor_style string · Optional

Parent object: body.agent_config

Cursor style for the browser agent.

enum: "fish", "standard", "green-pointer"

body.agent_config.max_duration_seconds integer · Optional

Parent object: body.agent_config

Maximum wall-clock seconds before the agent stops. Defaults to no limit.

minimum: 1

body.agent_config.max_steps integer · Optional

Parent object: body.agent_config

Maximum tool-call steps before the agent stops. Defaults to 150.

minimum: 1 · maximum: 500

body.agent_config.mode string · Optional

Parent object: body.agent_config

Agent behavior mode. "strict" enables fail-fast for test automation.

enum: "default", "strict"

api_integrationJSON request bodybodystringNo

Name of the integration making this API call (e.g., "dify", "zapier", "n8n"). Used for analytics.

browser_profileJSON request bodybodystringNo

Browser profile for execution. LITE uses standard browser, STEALTH uses anti-detection browser.

enum: "lite", "stealth"

capture_configJSON request bodybodyobjectNo

Configure which data to capture during the run.

additionalProperties: false

Nested fields and variants
body.capture_config.elements boolean · Optional

Parent object: body.capture_config

body.capture_config.html boolean · Optional

Parent object: body.capture_config

body.capture_config.recording boolean · Optional

Parent object: body.capture_config

body.capture_config.screenshots boolean · Optional

Parent object: body.capture_config

body.capture_config.snapshots boolean · Optional

Parent object: body.capture_config

credential_item_idsJSON request bodybodyarrayNo

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

body.credential_item_ids[] · Array item · string

output_schemaJSON request bodybodyobjectNo

Optional provider-supported structured-output schema subset for the run result. Unsupported fields are rejected before the request is accepted.

Nested fields and variants

body.output_schema.{name} · Named entries · any

profile_idJSON request bodybodystringNo

Browser Context Profile ID to use when use_profile is true.

minLength: 1

proxy_configJSON request bodybodyobjectNo

Proxy configuration

additionalProperties: false

Nested fields and variants
body.proxy_config.country_code string · Optional

Parent object: body.proxy_config

Proxy exit country (ISO 3166-1 alpha-2). Defaults to US.
body.proxy_config.enabled boolean · Required

Parent object: body.proxy_config

Enable proxy for this automation run
use_profileJSON request bodybodybooleanNo

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_vaultJSON request bodybodybooleanNo

Opt-in to vault credentials for this run. When true, enabled vault items are included. Defaults to false.

webhook_urlJSON request bodybodystringNo

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

Inferred from examples
  • errornull
  • finished_atstring
  • num_of_stepsinteger
  • resultobject
    • pricestring
    • productstring
  • run_idstring
  • started_atstring
  • statusstring

Usage billing

$0.016 per automation step. Rounding: ceil.

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    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"
    }'
  3. 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

Which inputs identify this request?

Provide url in body (string); goal in body (string). Keep identifiers and URLs in the formats documented for this implementation.

How should I structure the JSON body?

Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

How should I map the returned fields?

Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

Can I reuse request parameters from another endpoint?

Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use Web Automation Agent (TinyFish) API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.