Build repeatable web access tasks in Gemini CLI

Keep targets, requests and output requirements together in your command-line workflow. Validate status and content before parsing, downloading or continuing project work.

Gemini CLIcloudbypass-project

› Connect Gemini CLI to the API. Keep credentials in secure configuration and prepare one read-only request.

Read CLOUDBYPASS_APIKEY, set x-cb-host and check the runtime that sends the request.

bash
curl --include --request GET \
  "https://api.cloudbypass.com/" \
  --header "x-cb-host: example.com" \
  --header "x-cb-apikey: ${CLOUDBYPASS_APIKEY:?}" \
  --max-time 90

Set your key and target URL, then send the request from your runtime.

Inspect x-cb-status, HTTP status and actual business content after the request.

› Integration task
Gemini CLI · Integration setup preview
  • Check the environment the CLI process actually reads
  • Define timeouts, retry budgets and stop conditions
  • Preserve real output formats and failure states

Choose the integration that fits your project

Call the API directly from an existing project. Choose a Skill or MCP when you need reusable tasks or connected tools.

Call the public API

Use your existing HTTP client and control requests, sessions and result handling. Available today.

API documentation

Organize tasks with a Skill

Give the agent access rules, then prepare parameters, check status and handle failures by task.

Cloudbypass Skill

Connect OpenCode to the Scrapingbypass API

Prepare web requests in your OpenCode project terminal, keep access rules in AGENTS.md and configure the API key in the execution environment. Inspect the target response before continuing development or data processing.

OpenCode

Set up, request and validate

Fetch one target page and confirm its contents before adding proxies, sessions or downstream processing.

  1. Prepare the terminal environment

    Configure credentials and the target in the runtime used by Gemini CLI. V2 and V2s also require a stable proxy.

  2. Review the connection

    Use the project HTTP client directly or review existing MCP tools. Gemini CLI manages servers through mcpServers in settings.json; check support for custom headers first.

  3. Run and inspect

    Make one request and validate both status layers. Check content type before saving a download so an HTML error is not mistaken for a successful file.

Start with a minimal requestHTTP API
curl --include --request GET \
  "https://api.cloudbypass.com/" \
  --header "x-cb-host: example.com" \
  --header "x-cb-apikey: ${CLOUDBYPASS_APIKEY:?}" \
  --max-time 90

# POSIX shell example; set the key securely first.
# Check x-cb-status, target status and content.
# For V2 / V2s, add version and stable proxy parameters.
Store the key in your runtime. After sending the request, check the status and body.

Gemini CLI environments and MCP tool capabilities

User and project settings.json have different scopes. Confirm where the service runs, its timeouts and how it injects credentials before starting the task.

Runtime configuration, task recipes and validation records
CheckWhat to inspectNext action
Credentials and scopeCheck credentials, balance and authorized accessFix configuration instead of blindly changing IPs
Version and sessionMatch stable proxies and sessions for V2 / V2sRebuild the verification session after a proxy change
Two status layersCheck x-cb-status and the target HTTP statusA 200 response can still be a login or challenge page
Output and retriesCheck content type, expected fields and attempt budgetStop on configuration errors; limit transient retries

Put your integration to work

Choose a task guide for access strategies, implementation steps and troubleshooting.

Planning and troubleshooting

Development and tool integration

Business use cases

Frequently asked questions

Which integration should I use today?

Start with the public HTTP API. OpenClaw can use the published Skill. Existing HTTP MCP tools must support custom headers and secure credentials. The hosted MCP service is still planned.

How do I check whether my target website is accessible?

Send one request and check that the status and body match what you need. Relevant access scenarios include Cloudflare JavaScript Challenge, Turnstile, DataDome and Imperva / Incapsula; test compatibility with your target. reCAPTCHA and hCaptcha are not included in the current integration capabilities. Restricted content still requires the appropriate account permissions.

Where should API keys and proxy passwords go?

Keep them in secure configuration in the actual runtime or a trusted server. Do not put them in browser code, shared repositories, prompts, screenshots or public logs. Remote services have separate environments.

Do MCP or Skills automatically handle pagination and extraction?

Not by default. The access layer handles requests and responses; workflows or site recipes handle pagination, field extraction, deduplication, login state and business-specific signatures. Diagnose failures instead of retrying indefinitely.

API integration questions, response checks and technical support

Make your first web request

Set your key and target URL, confirm the response, then connect the request to your project.