bind with API