simplified api call