Skip to main content
DELETE
/
fetch
Fetch a URL (DELETE)
curl --request DELETE \
  --url https://scraping-api.55-tech.com/fetch \
  --header 'X-API-Key: <api-key>'
import requests

url = "https://scraping-api.55-tech.com/fetch"

headers = {"X-API-Key": "<api-key>"}

response = requests.delete(url, headers=headers)

print(response.text)
const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};

fetch('https://scraping-api.55-tech.com/fetch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://scraping-api.55-tech.com/fetch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://scraping-api.55-tech.com/fetch"

req, _ := http.NewRequest("DELETE", url, nil)

req.Header.Add("X-API-Key", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.delete("https://scraping-api.55-tech.com/fetch")
.header("X-API-Key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://scraping-api.55-tech.com/fetch")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)
request["X-API-Key"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "meta": {
    "status": 123,
    "final_url": "<string>",
    "http_version": "<string>",
    "elapsed_ms": 123,
    "blocked": true,
    "headers": {},
    "agent": {
      "id": "<string>"
    },
    "bytes": 123
  },
  "raw": "<string>",
  "raw_json": "<unknown>"
}

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header.

Headers

X-Target-URL
string

Target URL (no encoding needed). Recommended for URLs with query parameters.

X-Geo
string

Target countries as comma-separated ISO codes (e.g. US,DE,AT). Aliases: X-Geo-CC, X-CC, X-Country, X-Geo-Strict.

X-Agent
string

Route through specific agent(s) by slug (e.g. de1) or comma-separated list for random pick (e.g. de1,at5,us3).

X-Timeout
string

Override request timeout in seconds (default: 30).

Response

Proxied response from origin.

meta
object
raw
string | null

Response body as text (when not JSON).

raw_json
any | null

Parsed JSON body (when response is valid JSON, otherwise null).