Neuji

Image search

Image search results as JSON.

TEXT
GET /v1/images

Requires a valid API key, an active membership, and available API credit.

Query parameters

Name Type Required Default Description
q string yes The search query.
safe string no moderate Safe-search level: off, moderate, or strict.
gl string no (auto) Two-letter region/country code (e.g. us, gb, jp).
hl string no (auto) Two-letter language code (e.g. en, es, ja).
time string no any Recency filter: any, hour, day, week, month, year.
num integer no (provider default) Desired result count. Clamped to 5–100 (out-of-range → 20).

Response

The vertical endpoints share one result shape; only the fields relevant to the vertical are populated. For images, thumbnail and meta (source) are the most useful; price and extra are typically null.

JSON
{
  "query": "golden gate bridge",
  "kind": "image",
  "results": [
    {
      "title": "Golden Gate Bridge at sunset",
      "url": "https://example.com/photos/ggb.jpg",
      "description": null,
      "thumbnail": "https://example.com/photos/ggb-thumb.jpg",
      "price": null,
      "meta": "example.com",
      "extra": null
    }
  ]
}
Field Type Description
query string The query that was executed.
kind string Always image for this endpoint.
results[].title string Image title / caption.
results[].url string URL of the full image (or its page).
results[].description string | null Description, when available.
results[].thumbnail string | null Thumbnail image URL.
results[].meta string | null Source / host.
results[].price string | null Not used for images.
results[].extra string | null Not used for images.

Examples

cURL
curl -G "https://api.neuji.com/v1/images" \
  -H "Authorization: Bearer $NEUJI_API_KEY" \
  --data-urlencode "q=golden gate bridge" \
  --data-urlencode "safe=strict"
C#
using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new("Bearer", Environment.GetEnvironmentVariable("NEUJI_API_KEY"));
var url = "https://api.neuji.com/v1/images?q=" + Uri.EscapeDataString("golden gate bridge");
Console.WriteLine(await http.GetStringAsync(url));
JavaScript
const res = await fetch(
  "https://api.neuji.com/v1/images?q=" + encodeURIComponent("golden gate bridge"),
  { headers: { Authorization: `Bearer ${process.env.NEUJI_API_KEY}` } },
);
const data = await res.json();
for (const r of data.results) console.log(r.thumbnail);
Was this page helpful?