Client Libraries

Go SDK

An official Go client for Bytekit is on the way.

Coming soon

An official Go SDK is planned. It will offer the same capabilities as the TypeScript and Python SDKs — scrape, screenshot, record, bulk, monitors, sitemap, and account management — with idiomatic Go types and context.Context support.

In the meantime

Bytekit is a plain REST API, so you can call it from Go today with the standard library.

package main

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

func main() {
	body := bytes.NewBufferString(`{"url":"https://example.com","formats":["markdown"]}`)
	req, _ := http.NewRequest("POST", "https://api.bytekit.com/v1/scrape", body)
	req.Header.Set("Authorization", "Bearer sk_live_your_api_key_here")
	req.Header.Set("Content-Type", "application/json")

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	out, _ := io.ReadAll(resp.Body)
	fmt.Println(string(out))
}

Next steps