Local API creation