WeGA API
weber-gesamtausgabe · Data
⚠️ DEPRECATION WARNING ⚠️ This version of the WeGA API specification is outdated and superseded by [version 1.1.0](https://weber-gesamtausgabe.de/api/v1/openapi.json). For feedback or requests about this API please contact [email protected] or start the discussion at https://github.com/Edirom/WeGA-WebApp
Authentication
Sample Requests
This endpoint returns a list of documents related to the given date – optionally filtered by document type.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/documents/findByDate?limit=10&offset=1&toDate=example&docType=example&fromDate=1786-11-18"
import requests
params = {
"limit": "10",
"offset": "1",
"toDate": "example",
"docType": "example",
"fromDate": "1786-11-18"
}
response = requests.get(
"https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/documents/findByDate",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/documents/findByDate');
url.searchParams.set('limit', '10');
url.searchParams.set('offset', '1');
url.searchParams.set('toDate', 'example');
url.searchParams.set('docType', 'example');
url.searchParams.set('fromDate', '1786-11-18');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/documents/findByDate")
q := baseURL.Query()
q.Set("limit", "10")
q.Set("offset", "1")
q.Set("toDate", "example")
q.Set("docType", "example")
q.Set("fromDate", "1786-11-18")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/documents/findByDate")
uri.query = URI.encode_www_form({
"limit" => "10",
"offset" => "1",
"toDate" => "example",
"docType" => "example",
"fromDate" => "1786-11-18"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/documents/findByDate?" . http_build_query([
"limit" => "10",
"offset" => "1",
"toDate" => "example",
"docType" => "example",
"fromDate" => "1786-11-18"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));The Documents endpoint returns a list of all documents from the WeGA digital edition.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/documents?limit=10&offset=1&docType=example"
import requests
params = {
"limit": "10",
"offset": "1",
"docType": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/documents",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/documents');
url.searchParams.set('limit', '10');
url.searchParams.set('offset', '1');
url.searchParams.set('docType', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/documents")
q := baseURL.Query()
q.Set("limit", "10")
q.Set("offset", "1")
q.Set("docType", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/documents")
uri.query = URI.encode_www_form({
"limit" => "10",
"offset" => "1",
"docType" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/documents?" . http_build_query([
"limit" => "10",
"offset" => "1",
"docType" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Create a new WeGA ID
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/application/newID?docType=example"
import requests
params = {
"docType": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/application/newID",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/application/newID');
url.searchParams.set('docType', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/application/newID")
q := baseURL.Query()
q.Set("docType", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/application/newID")
uri.query = URI.encode_www_form({
"docType" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/weber-gesamtausgabe.de/1.0.0/application/newID?" . http_build_query([
"docType" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with WeGA API?
WeGA API is a Data API. Developers commonly use data APIs for:
- enriching your app with third-party datasets
- building data pipelines and ETL workflows
- querying and searching large datasets
- powering research, analysis, and reporting tools
- syncing reference data into your own systems
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. WeGA API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?