API endpoint client.