Simple API endpoint.