Sample Data API

Generate sample data (images and JSON) for placeholders, testing, or database seeding.

All APIs support seed parameter to indicate when stable results are needed.

Base URL: https://sample.hkit.cc

GET /image API

Description

This API searches online for images matching your keyword and redirects to a result. Results are cached for stable responses. Powered by wsrv.nl.

Example URL

/image?keyword=cat

Parameters

Result

Resolved Image URL

Loading image...
Preview

GET /json API

Description

This API returns structured data in JSON format with locale-aware values. Returns array when count specified, otherwise single object.

Currently using Faker.js, will be enhanced with AI-powered generation. Use remark parameter to guide AI generation (coming soon).

Example URL

/json

Parameters

Notes

  • Field Separators: Use comma, plus, or space.
    e.g. id,name or id+name or id name