ingest

Ingest Research Rows

Validate row-by-row, not batch-wide. Before 2026-10-01 a single malformed row (e.g. a non-ISO date that slipped past the shaping script) 422'd the ENTIRE request, and edgar_pit_ingest_client.post_all treats any 4xx as fatal and aborts the whole run -- the Owner Daily Desk insider-history pull landed only 6 of ~6,811 symbols because one bad row, thousands of rows in, killed every batch after it (the rows already fetched were never lost -- they just never got re-sent, because the run died). A 422 is now reserved for a structurally wrong request (an unknown table, or a batch where EVERY row fails); a batch with some good and some bad rows inserts the good ones and reports the rest as rows_rejected so the caller can see it without the run dying.

post/api/ingest/research-rows

Request

  • Base URL: https://api.equity-rank.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.equity-rank.com/api/ingest/research-rows
  • Auth: HTTP bearer

Request body

table'listing_status_snapshot' | 'dividend_history' | 'split_history' | 'earnings_surprise_history' | 'benchmark_price_history' required
rowsobject[]

Response

Successful Response

tablestring required
rows_sentinteger required
rows_rejectedinteger required
run_idstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.