Service to detect API endpoint types from URLs