DeepSeek Fetch

by Deepseek
deepseek/fetch

DeepSeek Fetch is a tool from Deepseek, callable through the AgentSky API as deepseek/fetch and billed per call ($0.0015).

Fetch readable content for one public web page.

  1. Get an API key

  2. Send a request

    curl https://gateway.agentsky.dev/v1/run \
      -H "authorization: Bearer $AGENTSKY_API_KEY" \
      -H "content-type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{"provider":"deepseek","endpoint":"fetch","input":{"url":"https://api-docs.deepseek.com/guides/search/"}}'
  3. Run it here, no terminal needed

    Billed to your balance: $0.0015 per call.
  4. Or hand it to your agent

    Use DeepSeek Fetch through AgentSky.
    Call: POST https://gateway.agentsky.dev/v1/run with {"provider": "deepseek", "endpoint": "fetch", "input": {…}}
    Docs: https://agentsky.dev/tools/deepseek/fetch.md
    Key: <your AgentSky API key>

Overview

Returns readable page content from DeepSeek's official Fetch API. A successful request is billed only when page content is returned. The URL must use HTTP or HTTPS, include a host, contain no embedded credentials, and be at most 8192 characters.

The page title and readable content. Empty or unusable content is not billed.

Input

These go in the input object of the run request.

FieldTypeRequiredDescription
urlstringYesPublic HTTP or HTTPS page URL without embedded credentials.
Minimum: 1
Maximum: 8192

Requests up to 1 MB.

Example

Use your own API key and a saved idempotency key for each new job. Replace image or media placeholders with your own publicly reachable HTTPS URLs. Keep the same key and request body when recovering a timeout.

# Set once per job; reuse this key and the identical body after a timeout.
: "${AGENTSKY_IDEMPOTENCY_KEY:?Set a unique, saved key for this job}"
curl --fail-with-body https://gateway.agentsky.dev/v1/run \
  -H "authorization: Bearer $AGENTSKY_API_KEY" \
  -H "content-type: application/json" \
  -H "Idempotency-Key: $AGENTSKY_IDEMPOTENCY_KEY" \
  -d '{"provider":"deepseek","endpoint":"fetch","input":{"url":"https://api-docs.deepseek.com/guides/search/"}}'
# If status is READY/RUNNING, poll GET /v1/runs/{runId} with the same API key.

Pricing

$0.0015 per call using your plan when signed in. Read the final customer charge from price.amount.value after the run finishes. A RUNNING response is not the final bill.

Questions