Gaeb Parse
by format.halowerk.com in Documents & files
Parse a GAEB DA XML bill of quantities (X80-X87, version 3.2/3.3) into JSON and optionally Excel: hierarchy, item numbers (OZ), quantities, units, unit prices, totals recomputed per GAEB rounding, rule findings and XSD validation. Reads GAEB DA XML 3.2 and 3.3 exchange phases X80-X87 (GAEB DA XML 3.3 Fachdokumentation 2023-01 (© DIN e.
https://format.halowerk.com/v1/gaeb-parse- Price
- $0.01
- per call in USDC
- Uptime
- 98.3%
- last 30 days
- Response time
- 130 ms
- 263 ms slowest 5%
- Last check
- Passed
- 11 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://format.halowerk.com/v1/gaeb-parse
Each call costs $0.01 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://format.halowerk.com/v1/gaeb-parse
content-type: application/json
{
"xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><GAEB xmlns=\"http://www.gaeb.de/GAEB_DA_XML/DA83/3.3\"><GAEBInfo><Version>3.3</Version><VersDate>2021-05</VersDate><Date>2026-11-01</Date></GAEBInfo><Award><DP>83</DP><BoQ ID=\"B1\"><BoQInfo><Name>LV 1</Name><LblBoQ>Painting</LblBoQ><OutlCompl>OutTxt</OutlCompl><BoQBkdn><Type>Item</Type><Length>4</Length><Num>Yes</Num></BoQBkdn></BoQInfo><BoQBody><Itemlist><Item ID=\"I1\" RNoPart=\"10\"><Qty>120.000</Qty><QU>m2</QU><Description><OutlineText><OutlTxt><TextOutlTxt><p><span>Wall paint, two coats</span></p></TextOutlTxt></OutlTxt></OutlineText></Description></Item></Itemlist></BoQBody></BoQ></Award></GAEB>"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
content_base64 | string | No | |
excel | boolean | No | Default: false. |
include_long_text | boolean | No | Default: true. |
validate_schema | boolean | No | Default: true. |
xml | string | No |
Example response
The provider's example. We can't check it without paying.
Example response, 96 lines
{
"limitations": [
"GAEB 90 and GAEB 2000 files are not read; GAEB DA XML 3.1 is parsed without XSD validation.",
"X84 files carry no item flags (alternative, provisional); such items are summed if they have a total.",
"Quantity determinations (X31), unit price components and catalogues are not evaluated."
],
"result": {
"award": null,
"boq": {
"breakdown": [
{
"alignment": null,
"label": null,
"length": 4,
"numeric": true,
"type": "Item"
}
],
"categories": [],
"computed_total": 0,
"currency": null,
"date": null,
"declared_total": null,
"items": [
{
"alternative": null,
"computed_total": null,
"discount_percent": null,
"in_total": true,
"index": null,
"kind": "item",
"long_text": null,
"lump_sum": false,
"not_applicable": false,
"oz": "10",
"provisional": null,
"qty": 120,
"qty_tbd": false,
"rno_parts": [
"10"
],
"short_text": "Wall paint, two coats",
"total": null,
"unit": "m2",
"unit_price": null
}
],
"label": "Painting",
"name": "LV 1",
"oz_mask": "PPPP"
},
"checks": [],
"gaeb": {
"bytes": 640,
"date": "2026-11-01",
"dp": "83",
"encoding": "UTF-8 (text input)",
"namespace": "http://www.gaeb.de/GAEB_DA_XML/DA83/3.3",
"phase": "X83 request for tender",
"program": null,
"sha256": "30048d04932633e090e4976102a7982ef9563656b93a2771d93529b4420d20e5",
"version": "3.3",
"version_date": "2021-05"
},
"project": {
"currency": null,
"currency_label": null,
"label": null,
"name": null
},
"schema_validation": {
"error_count": 0,
"errors": [],
"performed": true,
"schema": "GAEB DA XML 3.3 (2021-05) GAEB_DA_XML_83_3.3_2021-05.xsd",
"valid": true,
"validator": "JDK javax.xml.validation (Xerces), DTDs disabled, no external access"
},
"statistics": {
"alternatives": 0,
"categories": 0,
"items": 1,
"lump_sum": 0,
"markup_items": 0,
"not_applicable": 0,
"performance_descriptions": 0,
"priced_items": 0,
"provisional": 0,
"qty_tbd": 0,
"remarks": 0
},
"valid": true
},
"service": "gaeb-parse",
"status": "success"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://format.halowerk.com/v1/gaeb-parse' \
-H 'content-type: application/json' \
--data-raw '{"xml":"<?xml version=\"1.0\" encoding=\"UTF-8\"?><GAEB xmlns=\"http://www.gaeb.de/GAEB_DA_XML/DA83/3.3\"><GAEBInfo><Version>3.3<\/Version><VersDate>2021-05<\/VersDate><Date>2026-11-01<\/Date><\/GAEBInfo><Award><DP>83<\/DP><BoQ ID=\"B1\"><BoQInfo><Name>LV 1<\/Name><LblBoQ>Painting<\/LblBoQ><OutlCompl>OutTxt<\/OutlCompl><BoQBkdn><Type>Item<\/Type><Length>4<\/Length><Num>Yes<\/Num><\/BoQBkdn><\/BoQInfo><BoQBody><Itemlist><Item ID=\"I1\" RNoPart=\"10\"><Qty>120.000<\/Qty><QU>m2<\/QU><Description><OutlineText><OutlTxt><TextOutlTxt><p><span>Wall paint, two coats<\/span><\/p><\/TextOutlTxt><\/OutlTxt><\/OutlineText><\/Description><\/Item><\/Itemlist><\/BoQBody><\/BoQ><\/Award><\/GAEB>"}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://format.halowerk.com/v1/gaeb-parse' \
-H 'content-type: application/json' \
--data-raw '{"xml":"<?xml version=\"1.0\" encoding=\"UTF-8\"?><GAEB xmlns=\"http://www.gaeb.de/GAEB_DA_XML/DA83/3.3\"><GAEBInfo><Version>3.3<\/Version><VersDate>2021-05<\/VersDate><Date>2026-11-01<\/Date><\/GAEBInfo><Award><DP>83<\/DP><BoQ ID=\"B1\"><BoQInfo><Name>LV 1<\/Name><LblBoQ>Painting<\/LblBoQ><OutlCompl>OutTxt<\/OutlCompl><BoQBkdn><Type>Item<\/Type><Length>4<\/Length><Num>Yes<\/Num><\/BoQBkdn><\/BoQInfo><BoQBody><Itemlist><Item ID=\"I1\" RNoPart=\"10\"><Qty>120.000<\/Qty><QU>m2<\/QU><Description><OutlineText><OutlTxt><TextOutlTxt><p><span>Wall paint, two coats<\/span><\/p><\/TextOutlTxt><\/OutlTxt><\/OutlineText><\/Description><\/Item><\/Itemlist><\/BoQBody><\/BoQ><\/Award><\/GAEB>"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fformat.halowerk.com%2Fv1%2Fgaeb-parse&method=POST
const res = await pay("https://format.halowerk.com/v1/gaeb-parse", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><GAEB xmlns=\"http://www.gaeb.de/GAEB_DA_XML/DA83/3.3\"><GAEBInfo><Version>3.3<\/Version><VersDate>2021-05<\/VersDate><Date>2026-11-01<\/Date><\/GAEBInfo><Award><DP>83<\/DP><BoQ ID=\"B1\"><BoQInfo><Name>LV 1<\/Name><LblBoQ>Painting<\/LblBoQ><OutlCompl>OutTxt<\/OutlCompl><BoQBkdn><Type>Item<\/Type><Length>4<\/Length><Num>Yes<\/Num><\/BoQBkdn><\/BoQInfo><BoQBody><Itemlist><Item ID=\"I1\" RNoPart=\"10\"><Qty>120.000<\/Qty><QU>m2<\/QU><Description><OutlineText><OutlTxt><TextOutlTxt><p><span>Wall paint, two coats<\/span><\/p><\/TextOutlTxt><\/OutlTxt><\/OutlineText><\/Description><\/Item><\/Itemlist><\/BoQBody><\/BoQ><\/Award><\/GAEB>"
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://format.halowerk.com/v1/gaeb-parse",
json={
"xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><GAEB xmlns=\"http://www.gaeb.de/GAEB_DA_XML/DA83/3.3\"><GAEBInfo><Version>3.3</Version><VersDate>2021-05</VersDate><Date>2026-11-01</Date></GAEBInfo><Award><DP>83</DP><BoQ ID=\"B1\"><BoQInfo><Name>LV 1</Name><LblBoQ>Painting</LblBoQ><OutlCompl>OutTxt</OutlCompl><BoQBkdn><Type>Item</Type><Length>4</Length><Num>Yes</Num></BoQBkdn></BoQInfo><BoQBody><Itemlist><Item ID=\"I1\" RNoPart=\"10\"><Qty>120.000</Qty><QU>m2</QU><Description><OutlineText><OutlTxt><TextOutlTxt><p><span>Wall paint, two coats</span></p></TextOutlTxt></OutlTxt></OutlineText></Description></Item></Itemlist></BoQBody></BoQ></Award></GAEB>",
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 11 h ago | Passed | 402 | 38 ms | $0.01 |
| 3 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 130 ms | $0.01 |
| 4 days ago | Passed | 402 | 308 ms | $0.01 |
| 5 days ago | Passed | 402 | 228 ms | $0.01 |
Show 10 older checks
| 5 days ago | Passed | 402 | 168 ms | $0.01 |
| 5 days ago | Passed | 402 | 130 ms | $0.01 |
| 6 days ago | Passed | 402 | 126 ms | $0.01 |
| 6 days ago | Passed | 402 | 126 ms | $0.01 |
| 6 days ago | Passed | 402 | 169 ms | $0.01 |
| 7 days ago | Passed | 402 | 118 ms | $0.01 |
| 7 days ago | Passed | 402 | 39 ms | $0.01 |
| 7 days ago | Passed | 402 | 184 ms | $0.01 |
| 8 days ago | Passed | 402 | 39 ms | $0.01 |
| 8 days ago | Passed | 402 | 147 ms | $0.01 |