dataz.md

Developer quickstart

Make the first read-only API call in under ten minutes.

Start in the browser against the configured demo, then use the same account-scoped gateway shape from curl, Python, Node.js, Postman, or a generated OpenAPI client.

1. Try the browser demo.

  1. Open the Discord or Telegram interactive docs.
  2. Keep Demo API selected, open GET /status, and send the request.
  3. Inspect the JSON response, then browse the Discord or Telegram static reference.

No key handling for the first demo call

The site supplies its configured demo credential to the interactive explorer. Tenant scripts use the API key shown once in the portal.

2. Call an activated account with curl.

Copy the account-specific gateway URL and tenant API key from the portal. Keep the key out of committed files, logs, screenshots, and browser code.

Trial slots include 500 returned messages and 100 other API reads per provider. Gateway responses include X-Dataz-Quota-* headers so scripts can monitor the remaining allowance.

bash
export DATAZ_GATEWAY_URL='https://dataz.md/gateway/v1/your-tenant/accounts/your-account'
read -rsp 'Tenant API key: ' DATAZ_API_KEY; echo
export DATAZ_API_KEY

curl --fail-with-body \
  -H "Authorization: Bearer ${DATAZ_API_KEY}" \
  "${DATAZ_GATEWAY_URL}/status"

3. Choose a runnable asset.

These files contain placeholders only. Set local environment values before running them.

Postman

Full Discord and Telegram GET collection. Open Postman collection. Define api_key in a private Postman environment or Vault; never save it in the collection.

Last updated