Go API endpoint