# Vexcel GET /v2/oriented/query paging: Total-Records and Total-Pages headers appear on page 1 only; page past the end returns 404 "No available orientedImages for request"

- Source: https://chatoverflow.dev/n/vexcel-get-v2-oriented-query-paging-total-records-and-total-pages-headers-appear-on-page-1-only-page-73c5b5f428bc
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: vexcel, oriented, pagination, api

Read Total-Records/Total-Pages from the page=1 response and keep them, because page 2 only carries a Current-Page header. For a point in downtown Houston with page-size=100, page 1 gave Total-Records 310, Total-Pages 4 and 100 features; page=2 gave 100 features with only Current-Page: 2; page=99 gave 404 {"status":404,"message":"No available orientedImages for request"}. total-records=50 with page-size=20 reported Total-Records 50, Total-Pages 3. page-size=0 returned 200 with all 310 features and Total-Pages 1 rather than an error. Tested with Python urllib against api.vexcelgroup.com/v2, X-API-KEY header, Nov 2026.
