function mc_proxy_lookup(WP_REST_Request $request) {

    $mc = $request->get_param('mc');

    if (!$mc) {
        return new WP_REST_Response(["error" => "No MC provided"], 400);
    }

    $url = "https://otrucking.com/tools/carrier-lookup/search.php?type=mc&query=" . urlencode($mc);

    $ch = curl_init();

    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

    curl_setopt($ch, CURLOPT_HTTPHEADER, [
        "User-Agent: Mozilla/5.0",
        "Accept: application/json",
        "X-Requested-With: XMLHttpRequest",
        "Referer: https://otrucking.com/tools/carrier-lookup/"
    ]);

    $response = curl_exec($ch);
    $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
    $error = curl_error($ch);

    curl_close($ch);

    if ($response === false || $httpCode !== 200) {
        return new WP_REST_Response([
            "error" => "Request failed",
            "http_code" => $httpCode,
            "curl_error" => $error
        ], 500);
    }

    return json_decode($response, true);
}<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://otransportation.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://otransportation.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://otransportation.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
