TestingAPIs is still being built. If something breaks, email support@testingapis.com.

Get one item

GEThttps://api.testingapis.com/api/pagination/items/{id}Sign in to see this endpoint's URL

Get one item (the target of HAL self links).

Parameters 1

NameTypeDescription
idrequiredpath · integer (int32)Item id (1-100).

Responses

200
The item.
404
No item with that id.

Example

Request
curl -X GET "https://api.testingapis.com/api/pagination/items/1" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
{
  "id": 1,
  "name": "Smart Headset",
  "category": "electronics",
  "price": 42.01,
  "createdAt": "2026-01-01T21:00:00Z"
}

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.