Documentation
Quick start
Three steps to your first page, with examples in nine languages.
Web page API
Send the address of a public page and get it back in the same response: as the site sent it, as a browser shows it, or as Markdown.
1 credit a page. Failed requests are free. Credits never expire.
curl "https://gimmepage.com/v1/fetch?url=https%3A%2F%2Fexample.com%2F" \
-H "Authorization: Bearer YOUR_API_KEY"
# pip install gimmepage
from gimmepage import Gimmepage
client = Gimmepage(api_key="YOUR_API_KEY")
page = client.fetch("https://example.com/")
print(page.site_status, page.cost, page.balance)
print(page.text)
// npm install gimmepage
import { Gimmepage } from "gimmepage";
const client = new Gimmepage({ apiKey: "YOUR_API_KEY" });
const page = await client.fetch("https://example.com/");
console.log(page.siteStatus, page.cost, page.balance);
console.log(page.text);
<?php
$query = http_build_query(['url' => 'https://example.com/']);
$ch = curl_init('https://gimmepage.com/v1/fetch?' . $query);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Bearer YOUR_API_KEY']);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$body = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_RESPONSE_CODE), "\n", $body;
package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
q := url.Values{}
q.Set("url", "https://example.com/")
req, _ := http.NewRequest("GET", "https://gimmepage.com/v1/fetch?"+q.Encode(), nil)
req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(resp.Header.Get("Gimmepage-Cost"), string(body))
}
require "net/http"
require "uri"
uri = URI("https://gimmepage.com/v1/fetch")
uri.query = URI.encode_www_form(url: "https://example.com/")
req = Net::HTTP::Get.new(uri)
req["Authorization"] = "Bearer YOUR_API_KEY"
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |h| h.request(req) }
puts res["Gimmepage-Cost"], res.body
import java.net.URI;
import java.net.http.*;
var client = HttpClient.newHttpClient();
var request = HttpRequest.newBuilder()
.uri(URI.create("https://gimmepage.com/v1/fetch?url=https%3A%2F%2Fexample.com%2F"))
.header("Authorization", "Bearer YOUR_API_KEY")
.build();
var response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.headers().firstValue("Gimmepage-Cost").orElse("") + " " + response.body());
using var http = new HttpClient();
http.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_API_KEY");
var response = await http.GetAsync("https://gimmepage.com/v1/fetch?url=https%3A%2F%2Fexample.com%2F");
Console.WriteLine(response.Headers.GetValues("Gimmepage-Cost").First());
Console.WriteLine(await response.Content.ReadAsStringAsync());
// reqwest = { version = "0.12", features = ["blocking"] }
fn main() -> Result<(), Box<dyn std::error::Error>> {
let resp = reqwest::blocking::Client::new()
.get("https://gimmepage.com/v1/fetch")
.query(&[("url", "https://example.com/")])
.bearer_auth("YOUR_API_KEY")
.send()?;
println!("{:?}", resp.headers().get("gimmepage-cost"));
println!("{}", resp.text()?);
Ok(())
}
HTTP/1.1 200 OK Gimmepage-Site-Status: 200 Gimmepage-Final-Url: https://example.com/ Gimmepage-Cost: 1 Gimmepage-Balance: 19999 <!doctype html><html><head><title>Example Domain…
A check page, a refusal, a timeout or an error on our side costs nothing.
Buy credits from $5 when you need them. They never expire.
A check page is never passed off as the page. Every error says why.
One request with the page's address and your key in a header.
Blocks, browsers, sessions and retries are our problem, not yours.
In the same response, with the site's status, the final address and the cost.
Choose how it is fetched and how it comes back. The price is known before you send.
Explore all parametersThis request costs 1 credit, and only when the page comes back. Markdown costs nothing extra.
Add render=true and you get the page after its JavaScript ran, from a real browser. It costs 5 credits.
Add output=markdown to get clean text with headings, links and tables, ready for a language model.
Official libraries for Python and JavaScript, and an MCP server so your AI assistant can read web pages with your key.
Short pages that take you from nothing to your first page.
Documentation
Three steps to your first page, with examples in nine languages.
AI assistants
Let your assistant read web pages with your key.
Create an account, buy credits from $5, send your first request.