Batch directory + companies payload
Batch directory + companies payload
Authentication
User bearer token: Clerk session JWT, Clerk OAuth access token, or Clerk API key
Query parameters
Zero-based page index (0..N)
Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
Request
Opaque continuation from companyNextCursor; keeps deep company traversal keyset-based.
Response headers
Requests allowed per client IP in the current rate-limit window.
Requests left before the tightest applicable rate-limit bucket rejects.
Seconds until the exhausted rate-limit bucket admits another request; 0 when none is exhausted.
Response
The slug resolves to a publishable location: the body carries the directory, exact letter counts, and the requested company URL slots.
Opaque continuation for the next company URL-slot page; absent only when the current address-refresh snapshot holds no further slot for the resolved letter.
Single directory entry (country/state/city) for sitemap
Exact company URL-slot count per letter from the same address-refresh snapshot that serves company: locationLetterCount[letter] equals the slots a companyNextCursor traversal of that letter reaches. Both move together at the next refresh, so a traversal that straddles a refresh restarts from a fresh count.