Skip to main content
Question

How to get RAW DATA (JSON) via the Censys Platform API

  • November 12, 2025
  • 1 reply
  • 8 views

Hello community,

When you search for a host in the Censys WEB UI and open its details page, there is a RAW DATA tab that shows the host's data in JSON format, like this image:

I would like to retrieve that exact JSON data via the Censys Platform API.

I tried using the search query endpoint(https://docs.censys.com/reference/v3-globaldata-search-query) with the following query:

host.ip="<IP Address>" OR web.hostname="<IP Address>"

However the API response was different from what appears in the RAW DATA in the WEB UI.
Should I use a different endpoint? Or is my query incorrect?

Could someone advise on how to retrieve an API response that matches the RAW DATA shown in the WEB UI?

Thanks for your help.

1 reply

MattK_Censys
Forum|alt.badge.img+2
  • Censys Community Manager
  • 123 replies
  • November 12, 2025

Hi KetSC, looking into this for you. I just tried running a search API that returns your example IP from your screenshot and the data is returned in JSON format. I also ran a lookup API against that IP and it returned the same data in JSON. What is missing from your responses?