Bulk export

Bulk export delivers the corpus as files. Each day Arche publishes a snapshot: a set of Parquet files and a manifest listing every file with its size and SHA-256 checksum. You download the files directly from storage, so loading the whole corpus into a warehouse takes minutes instead of millions of API calls.

Bulk export is included in the Scale and Enterprise plans. Other plans are refused with 403 FEATURE_NOT_AVAILABLE and details.required_tier: "scale".

What a snapshot holds

A snapshot is read from the database at a single moment, recorded as read_at. It holds what the API would have served at that moment, and nothing EDGAR accepted after it. Each statement appears once, as the version the API serves; earlier versions are not exported as separate rows.

Snapshots build daily at 04:30 UTC and are usually published about an hour later. If a build fails, nothing is published and the previous snapshot remains the latest. Arche keeps the seven most recent snapshots. An older snapshot's files are deleted and requests for it return 410.

Most builds are incremental: a file whose contents did not change is carried forward with the same checksum and marked changed: false. A full rebuild runs at least once a week.

Datasets

DatasetOne row perPartitioned by
companiescompany (cik)—
filingsfiler and filing (cik, accession_id)filing_year
statementsone filing's statement (accession_id, statement_type, period)fiscal_year
financialsmetric on one filing's statement (filing_accession, metric)fiscal_year
segmentssegment or geographic value (cik, fiscal_year, statement_date, axis, member, concept, period, value)fiscal_year
disclosuresnarrative disclosure (disclosure_id)report_year
reconciliationreconciliation check on one filing's statement (accession_id, rule_id)fiscal_year
dq_findingsdata-quality check of one filing's statement (cik, statement_type, fiscal_year, fiscal_period, accession_id)fiscal_year
model_periodsmodeling period (cik, statement_type, period, accession_id, dimension_key)fiscal_year
model_ttmtrailing-twelve-month row (cik, statement_type, period)fiscal_year
model_growthgrowth row (cik, statement_type, period, cagr_years)fiscal_year
model_ratiosratio row (cik, statement_type, period)fiscal_year
restatement_alertsrestatement alert (restatement_alert_event_id)—
narrativesnarrative of one company's statement (cik, narrative_type, statement_type)—
anomaly_explanationsexplained anomaly (cik, statement_type, fiscal_year, fiscal_period, metric_code, dimension_key, reason_codes)—
macro_seriesseries observation (series_code, observation_date)—

companies covers every company behind the snapshot's filings, including companies with no financial statement Arche serves. It therefore has more rows than the corpus size quoted elsewhere in these docs, which counts only companies with statements.

The four model_ datasets hold, for each company, the rows that /v1/modeling/companies/{company_id}/periods, /ttm, /growth and /ratios return with as_of set to the UTC date of the snapshot's read_at. A company with no model on that date has no rows. Each metric is its own column, named by the metric code in lower case: REVENUE is revenue. A metric the endpoint does not return for a row is null, and unavailable_metrics holds the endpoint's list of unavailable metrics as a JSON string.

restatement_alerts holds every alert /v1/edgar/restatement-alerts serves, which are the alerts webhook subscriptions deliver, one row per alert with the fields /v1/edgar/restatement-alerts/{id} returns. An alert keeps its restatement_alert_event_id for good, and a webhook delivery re-sent for the same alert carries the same id, so when you reconcile webhook deliveries against the file, the id tells a re-sent alert from a new one. change_class_counts, summary_metrics and model_impacts are JSON strings.

narratives holds the narratives /v1/ai/companies/{company_id}/narratives serves on the date of the snapshot's read_at: one row for each company, narrative_type and statement_type with a narrative already written. Each row carries the narrative_text, the input_hash of the figures it was written from, so equal hashes mean equal inputs, and citations, the figures the narrative cites, as a JSON string. A company modelled after the day's narratives were written has no rows until the next snapshot.

anomaly_explanations holds the explanations /v1/ai/companies/{company_id}/anomaly-explanations serves on the date of the snapshot's read_at, at every severity: one row for each explained anomaly. Each row carries its severity, the reason_codes the explanation gives, the rationale text, the impacted_metrics it refers to, and the historical_baseline and peer_baseline the anomaly was measured against. reason_codes, impacted_metrics, historical_baseline and peer_baseline are JSON strings. Every key column but cik and reason_codes may be null, for an anomaly that concerns no single statement, period or metric, and nulls compare equal. A company with no explanations on that date has no rows.

dq_findings holds the quality.data_quality block the statement routes serve: the latest data-quality check's rule counts, its pass_rate, and each failed rule in flags as a JSON string. A statement in statements with no row here has had no data-quality check: no row means not evaluated, never passed.

Files are Parquet, compressed with zstd. Paths follow <dataset>/<partition column>_<value>/part-NNNN.parquet, for example statements/fiscal_year_2025/part-0000.parquet. The partition directories use _, not =, so read them as plain directories rather than as Hive partitions. companies, restatement_alerts, narratives, anomaly_explanations and macro_series are not partitioned.

Decimals are decimal(38, 12) and timestamps are UTC. For every column, its type and what it means, ask the API:

curl -X GET "https://api.arche.fi/v1/bulk/datasets" \
  -H "X-Api-Key: $ARCHE_API_KEY" \
  -H "Accept: application/json"

Each dataset lists its key columns, its partition_column, and its columns in file order with name, type, nullable and description.

macro_series holds the observations /v1/fundamentals/macro/series/{series_code} serves for CES0500000003, DGS10, DGS2, FEDFUNDS, RSAFS and UNRATE; CPIAUCSL, CPILFESL and SP500 carry upstream terms that may limit redistribution and are served through their route only. This product uses the FRED® API but is not endorsed or certified by the Federal Reserve Bank of St. Louis; cite each series as macro context lists.

Derived metrics are exported only as the metric columns of model_growth and model_ratios: the eleven growth rates and fifteen ratios the modeling routes compute, which /v1/bulk/datasets lists column by column. The rest of the derived-metric catalog, and the series /v1/edgar/derived-metrics/time-series serves, have no dataset and are read through the API only.

Accept the license

Bulk data is issued under the bulk-data license. Before your organization can download its first file, someone who may bind the organization accepts the license, once per license version. Until then, every request for a download URL returns 403 BULK_LICENSE_NOT_ACCEPTED, before anything is charged against the daily allowance. Listing datasets, snapshots and manifests works without it.

Read the current license:

curl -X GET "https://api.arche.fi/v1/bulk/license" \
  -H "X-Api-Key: $ARCHE_API_KEY" \
  -H "Accept: application/json"

The response carries license_version, license_sha256 (the SHA-256 of the UTF-8 bytes of text), the full text, and accepted, which says whether your organization has accepted this version. Once it has, acceptance records accepted_at, accepted_by_name and accepted_by_email.

Accept it by sending back the version and checksum you read, with the name and email of the person accepting:

curl -X POST "https://api.arche.fi/v1/bulk/license/acceptance" \
  -H "X-Api-Key: $ARCHE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "license_version": "bulk-data-v1",
    "license_sha256": "<license_sha256 as returned>",
    "accepted_by_name": "Jane Doe",
    "accepted_by_email": "jane.doe@example.com"
  }'

Echoing the version and checksum shows the acceptance is of that exact text. If either is not the current license's, the request returns 400 VALIDATION_ERROR with details.reason set to LICENSE_VERSION_MISMATCH and the current license_version and license_sha256 in details; read the license again and accept that. The first acceptance returns 201. Accepting the same version again returns 200 with the original record, which is never overwritten. When a new license version is published, it must be accepted before the next download.

The Python SDK reads the license with client.bulk.license() and accepts the current version in one call:

import os

from arche_sdk import ArcheClient

with ArcheClient(api_key=os.environ["ARCHE_API_KEY"]) as client:
    client.bulk.accept_license(name="Jane Doe", email="jane.doe@example.com")

accept_license reads the license first and accepts the version and checksum it returns. A download requested before acceptance raises BulkLicenseNotAcceptedError.

Find a snapshot

List published snapshots, newest first:

curl -X GET "https://api.arche.fi/v1/bulk/snapshots?page=1&page_size=10" \
  -H "X-Api-Key: $ARCHE_API_KEY" \
  -H "Accept: application/json"

Read one snapshot's manifest by its ID, or use latest:

curl -X GET "https://api.arche.fi/v1/bulk/snapshots/latest" \
  -H "X-Api-Key: $ARCHE_API_KEY" \
  -H "Accept: application/json"
{
  "data": {
    "snapshot_id": "20261005T043106Z",
    "build_kind": "full",
    "format_version": 2,
    "previous_snapshot_id": null,
    "published_at": "2026-10-05T06:10:49Z",
    "read_at": "2026-10-05T04:31:06Z",
    "rows": 83028547,
    "bytes": 6387190363,
    "datasets": [
      {
        "dataset": "companies",
        "schema_version": 2,
        "rows": 23073,
        "bytes": 662084,
        "files": 1,
        "changed_files": 1
      }
    ],
    "files": [
      {
        "path": "companies/part-0000.parquet",
        "dataset": "companies",
        "partition": null,
        "rows": 23073,
        "bytes": 662084,
        "sha256": "d2a0c7e20c720c8f7b2c0c074ce745049977e04dc87ba32f640ea3a4025e97f4",
        "changed": true
      }
    ]
  }
}

A snapshot ID is the time its build started, as YYYYMMDDTHHMMSSZ. Pin one ID for a whole download, so that every file you load comes from the same moment.

Download a file

Ask for a download URL for one file in the manifest:

FILE=companies/part-0000.parquet
curl -X GET "https://api.arche.fi/v1/bulk/snapshots/20261005T043106Z/files/$FILE" \
  -H "X-Api-Key: $ARCHE_API_KEY" \
  -H "Accept: application/json"
{
  "data": {
    "snapshot_id": "20261005T043106Z",
    "file_path": "companies/part-0000.parquet",
    "url": "https://…",
    "expires_at": "2026-09-26T09:10:00Z",
    "bytes": 661805,
    "sha256": "f049bf4441e1bd692645021c1333f9878faf4a9ee55ade9a76b97791fe988e6d"
  }
}

Fetch url with a plain GET and no API key. It expires ten minutes after it is issued. After downloading, compare the file's SHA-256 with sha256 and discard the file if they differ.

The response is JSON carrying the URL, not a redirect. A path that is not in the snapshot's manifest returns 404.

Daily download allowance

Each organization may be issued download URLs for up to 20 GiB of files in any rolling 24 hours, enough for about three full snapshots. The full size of a file counts when its URL is issued, not when you download it, because a URL cannot be withdrawn once issued.

Asking again for the same file while an earlier URL for it is still valid costs nothing, so retrying a failed download does not spend the allowance twice.

When the allowance is spent, the request returns 429 with the code BULK_DOWNLOAD_BUDGET_EXCEEDED. details reports issued_bytes, requested_bytes and daily_byte_cap, and a Retry-After header says when enough of the allowance frees up for the file you asked for.

Requests to these routes are also rate limited; see Rate limits.

Keeping a copy current

To refresh a local copy, read the latest manifest and download only the files whose sha256 differs from the copy you hold. Files marked changed: false are identical to the previous snapshot's file at the same path. After a full rebuild every file may change, so compare checksums rather than relying on changed alone.

The Python SDK does this in one call: client.bulk.sync() downloads only the files whose checksum differs from your copy and verifies each one.

Errors

  • Name
    FEATURE_NOT_AVAILABLE
    Type
    403
    Description

    Your plan does not include bulk export.

  • Name
    BULK_LICENSE_NOT_ACCEPTED
    Type
    403
    Description

    Your organization has not accepted the current bulk-data license. details carries license_version, license_url and accept_url; see Accept the license.

  • Name
    VALIDATION_ERROR
    Type
    400
    Description

    A license acceptance named a version or checksum that is not current, or left the name or email blank.

  • Name
    BULK_SNAPSHOT_NOT_FOUND
    Type
    404
    Description

    No published snapshot has that ID, or nothing has been published yet when you ask for latest.

  • Name
    BULK_SNAPSHOT_EXPIRED
    Type
    410
    Description

    The snapshot is older than the seven that are kept. Use latest.

  • Name
    BULK_FILE_NOT_FOUND
    Type
    404
    Description

    The path is not in the snapshot's manifest.

  • Name
    BULK_DOWNLOAD_BUDGET_EXCEEDED
    Type
    429
    Description

    The daily download allowance is spent. Wait for Retry-After.

Was this page helpful?