While automating some aspects of my OSINT (Open-source Intelligence) process, I realised there was no Go client for the Robtex API, so I decided to create one.

Robtex-Go is a library that provides a little wrapper over such APIs, and can be quickly integrated in any other Go codebase:

package main

import (

func main() {

	client := robtex.NewClient("https://freeapi.robtex.com", "")

	ipInfo := client.IpQuery("")

	asn := client.AsQuery(1234)

	passiveDns := client.PassiveDNS("www.google.com")

Installation and usage instructions can be found on Github.

Robtex-Go can be found on Github: https://github.com/marco-lancini/robtex-go.