Tsiba uye kumxholo
The Consortium

Intelligence APIOperational

GET_v1_bulk_collection_

Bulk export: stream a collection as NDJSON

Isicelo

Yizame

Available · 0.1 credits per 100 records

https://api.nexustandards.com

GET/v1/bulk/{collection}

curl -s "https://api.nexustandards.com/v1/bulk/<collection>"
const res = await fetch("https://api.nexustandards.com/v1/bulk/<collection>");
const { data, meta } = await res.json();
import json, urllib.request

req = urllib.request.Request("https://api.nexustandards.com/v1/bulk/<collection>")
with urllib.request.urlopen(req) as res:
    answer = json.load(res)

Streams the records of the collection's list route as NDJSON, one record per line, exactly as that route serves them, from one snapshot. The ETag is the snapshot digest: If-None-Match of the same digest answers 304 (nothing changed since the last export); If-Match of another digest answers 412 SNAPSHOT_CHANGED (the data moved on, start again); a client that was cut resumes with ?skip=. Not an MCP tool: it streams a file. Availability: Available.

Parameters

Parameters

  • collectionrequired

    path · string

    Collection id from /v1/bulk (standards, requirements, controls, crosswalks, external-standards, hazards, indicators, jurisdictions)

  • skipoptional

    query · integer

    Records already received (resume), a whole number (default 0)

  • formatoptional

    query · string

    ndjson (the only format; others are designed; default ndjson)

Answers

Responses

  • 200

    NDJSON: one record per line, as the collection route serves it

  • 304

    Not modified (If-None-Match matched the snapshot digest)

  • 400Problem, RFC 9457

    Bad request (stable code in the problem)

  • 401

  • 402

  • 404Problem, RFC 9457

    Not found, or version not in the snapshot

  • 412Problem, RFC 9457

    Precondition failed: the data moved on since the export began (SNAPSHOT_CHANGED)

  • 414

  • 429Problem, RFC 9457

    Open-tier rate limit

  • 500Problem, RFC 9457

    Internal error

  • 502Problem, RFC 9457

    Upstream error, or a bulk collection's own route did not answer (BULK_SOURCE)

Get started

Get a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.