QuantSet Docs Developer console

Endpoints / Macro and FX

US labor market pack (Payrolls, Unemployment, JOLTS & Claims)

Nonfarm payrolls, U-3 & U-6 unemployment, participation rate, hourly earnings, weekly hours, JOLTS job openings, and weekly jobless claims with period and YoY changes.

GET/api/v1/macro/labor

API key1 credit per request Use a key with access to this operation.

View as MarkdownWhole API as text

Parameters

modesnapshot | historical
series_idstring
limitinteger, 1 to 500

Historical mode only. Defaults to 50 observations.

snapshot_idstring

Pin the request to one immutable snapshot so a read across several pages stays consistent.

formatjson | csv

Return a JSON page or UTF-8 CSV rows.

Response

Each row has these fields. Rows arrive in data, next to schema_version, snapshot_id, total_count, next_cursor, provenance.

  • series_idstring

    The identifier of the economic or reference series.

  • namestring

    The company, fund or instrument name.

  • categorystring
  • frequencystring
  • unitstring
  • latest_datestring

    The date of the most recent price for this listing.

  • latest_valuenumber
  • prior_valuenumber
  • period_changenumber
  • mom_change_pctnumber

    In percent: 10 means 10%.

  • qoq_change_pctnumber

    In percent: 10 means 10%.

  • yoy_change_pctnumber

    In percent: 10 means 10%.

View response example or schema

Research questions

What do the latest unemployment and employment indicators say about the labor market?

GET https://api.quantset.dev/api/v1/macro/labor

Inspect each series’ frequency and unit. Read the unemployment rate as a percentage and payroll levels in the unit specified for that series.

How did the unemployment rate change over twelve observations?

GET https://api.quantset.dev/api/v1/macro/labor?mode=historical&series_id=UNRATE&limit=12

Subtract rate levels for a percentage-point change and check the dates before describing the interval as a year.

Reading the results

A rate can move because its numerator or denominator changed. Inspect underlying headcount series separately before attributing a cause.

Coverage and limits

Labor indicators arrive on different schedules and can be revised. Compare matching periods and retain missing observations.

CSV, spreadsheets and agents

The same rows as a spreadsheet-ready table. Add format=csv to the request.

curl "https://api.quantset.dev/api/v1/macro/labor?format=csv" -H "X-API-Key: YOUR_API_KEY"

Or pull it straight into Google Sheets with one formula. Excel and larger pulls

=IMPORTDATA("https://api.quantset.dev/api/v1/macro/labor?format=csv&apikey=YOUR_API_KEY")

AI agents call this endpoint over HTTP, or read its Markdown version. Connect Claude, ChatGPT, Cursor or your own agent

Errors

StatusCodeWhat to do
400conflicting_credentialsSupply one credential.
401invalid_credentialsSupply a valid API key.
402insufficient_creditsReduce the request ceiling or refill your credits.
403insufficient_accessYour key does not have the required access.
409snapshot_changedStart the read again with the current snapshot.
413export_too_largeReduce the page size before requesting CSV again.
422invalid_parameterCorrect the named parameter and retry.
429rate_limitedWait for Retry-After seconds.
500internal_errorThe request could not be completed.
503temporarily_unavailableRetry safe reads after a short delay.

Questions

What does US labor market pack (Payrolls, Unemployment, JOLTS & Claims) cost?
1 credit for each successful request. A request that fails costs nothing.
Which plan includes it?
Every account. Free credits, credit packs and subscriptions all read this data.
Can I get it as CSV or in a spreadsheet?
Yes. Add format=csv to the request. In Google Sheets, put that URL inside IMPORTDATA with a data-only key in apikey.
Can an AI agent use this?
Yes. An agent calls it over HTTP like any client. Add .md to this page's address for a version written for agents.
What does null mean in the response?
The value could not be confirmed. It is never a zero, so treat it as missing in your own calculations.