Web Radar: Quét Tech Stack, Markdown & B2B Leads

Web Radar (/v1/radar/*) phân tích toàn diện hạ tầng kỹ thuật, bảo mật, SEO/AI-Readiness và mức độ hiện diện thương hiệu trên các AI Engine của bất kỳ website công khai nào: phát hiện 160+ công nghệ (Framework, CMS, Analytics, Payment VN), kiểm tra DNS/RDAP/SSL/TLS/ASN, chấm điểm HTTP Security Grade (A+..F), đo Google PageSpeed Insights v5 Core Web Vitals, đánh giá AI-Readiness, trích xuất Clean Markdown, sinh tệp llms.txt, lọc B2B Leads và theo dõi GEO/AEO.

Khóa API với quyền mặc định read tự động bao gồm radar:read và radar:scan (dùng cho /v1/radar/scan, /sites/{domain}, /leads, /markdown, /llms-txt, /pagespeed, /geo/check, /geo/report, GET /geo/projects*, GET /bulk/{job_id}). Quyền manage bao gồm toàn bộ quyền radar:* kể cả radar:write và radar:export (POST /bulk, GET /bulk/{id}/export, POST/PATCH/DELETE /geo/projects*).

Nếu bạn chỉ muốn kiểm tra nhanh bằng trình duyệt (0 đơn vị API), hãy truy cập Web Radar Hub, Kiểm tra Hiện diện AI (GEO) hoặc 13 công cụ miễn phí.

1. Quét X-Ray Website & Hồ sơ Tên miền

EndpointQuyền (Scope)Chi phíMô tả
GET hoặc POST /v1/radar/scanradar:scan1 đơn vị (cache <24h) / 3 đơn vị (quét trực tiếp)Quét X-Ray an toàn (SSRF-safe). Truyền refresh=true để bỏ qua cache 24h, modules (mặc định "all"), hoặc render_js=true cho SPA.
GET /v1/radar/sites/{domain}radar:read1 đơn vị (3 đơn vị nếu auto_scan=true)Lấy hồ sơ tên miền đã lưu kèm related_bidding_packages (theo MST) và related_domains.
curl -X POST "https://api.crawlpipe.com/v1/radar/scan" \
-H "Authorization: Bearer cp_live_a1b2c3d4e5f6…" \
-H "Content-Type: application/json" \
-d '{"url": "https://vnexpress.net", "refresh": false, "modules": "all", "render_js": false}'

Danh mục đầy đủ các trường dữ liệu trả về (Response Schema)

Cả /v1/radar/scan và /v1/radar/sites/{domain} đều trả về đầy đủ object data gồm:

  • Định danh & trạng thái quét: id, domain, canonical_domain, normalized_url, final_url, http_status, scan_status ("ok" | "blocked" | "http_error" | "unreachable"), scan_error, block_reason (vd "cloudflare_challenge"), fetch_via ("direct" | "vn_proxy"), indexable (boolean), response_time_ms, title, description, favicon_url, og_image_url, language, country_hint, cached, diff_recorded, js_rendered, js_render_note, content_hash, verified_badge_token, first_scanned_at, last_scanned_at, scan_count.
  • Công nghệ phát hiện (tech_stack, tech_slugs):
    • tech_stack[]: mảng các {name, slug, category, evidence[], confidence} nhận diện 160+ công nghệ (Framework, CMS, Analytics, CDN, Payment VN, BCT…).
    • tech_slugs[]: mảng chuỗi slug rút gọn để lọc nhanh.
  • Hạ tầng, DNS, RDAP & Xác thực Email:
    • Cấp cao nhất: hosting_provider, cdn_provider, asn_number, server_ip.
    • dns_records: a[], aaaa[], cname[], mx[], ns[], txt[], caa[], soa, email_provider, spf_valid, spf_policy, spf_record, spf_lookup_count, dmarc_valid, dmarc_policy, dmarc_record, dmarc_rua, dkim_selectors_found[], và rdap (registrar, registered_at, expires_at, updated_at, statuses[], dnssec_signed).
  • Chứng chỉ SSL/TLS (ssl_info): subject, subject_cn, issuer, issuer_cn, protocol (vd TLSv1.3), cipher, valid_from, valid_until, days_left, sans[], sans_count, serial_number.
  • Bảo mật HTTP & Cookie (security_headers, security_grade):
    • security_grade: xếp hạng "A+", "A", "B", "C", "D" hoặc "F".
    • security_headers: https, score, evaluated, present_count, total_checked, headers (7 header chuẩn: strict-transport-security, content-security-policy, x-frame-options, x-content-type-options, referrer-policy, permissions-policy, cross-origin-opener-policy kèm {label, value, present}), missing[], cookies_audit[] (name, secure, http_only, same_site), has_security_txt, security_txt_preview, info_leak_headers[], mixed_content_count, mixed_content_samples[], http_redirects_to_https, http_redirect_status, http_redirect_location.
  • SEO, AI-Readiness & HTTP Diagnostics (seo_meta, ai_readiness_score):
    • ai_readiness_score (0..100).
    • seo_meta: evaluated, scan_status, fetch_via, block_reason, title_length, description_length, h1, h1_count, h2_count, h3_count, headings_outline[] ({level, text}), word_count, canonical, meta_robots, viewport, hreflang[], has_sitemap, sitemap_sample_count, has_llms_txt, has_llms_full_txt, robots_allows_ai, robots_txt_preview, robots_ai_bots (gptbot, claudebot, perplexitybot, oai_searchbot, google_extended, ccbot, wildcard_disallow_all, allows_ai), schema_types[], schema_details[] ({type, name, fields[]}), spa_shell_suspected, và dữ liệu pagespeed đã lưu cache (nếu từng kiểm tra).
    • seo_meta.http_diagnostics: ttfb_ms, fetch_via, http_version, html_size_bytes, content_encoding, cache_control, redirect_hops, redirect_chain[], response_headers, images_count, images_lazy_count, images_missing_alt, internal_links_count, external_links_count, stylesheets_count, external_scripts_count.
  • Tuân thủ Pháp luật Việt Nam (vn_compliance, extracted_mst):
    • evaluated, is_vn_site, has_bct_badge, bct_type, bct_links[], extracted_mst, company_name, address, phone, email, has_privacy_policy, has_return_policy, has_payment_policy, has_shipping_policy, foreign_currency_only, compliance_score, warnings[].
  • Liên hệ, Social Preview, Markdown & Dữ liệu liên kết:
    • contacts: {emails[], phones[], socials: {facebook, zalo, youtube, linkedin, x, tiktok, github}, email_count, phone_count, masked} (trả đầy đủ không che khi gọi qua API key /v1/*).
    • social_preview: og_url, og_type, og_title, og_description, og_site_name, og_image, og_image_status, og_image_bytes, og_image_width, og_image_height, og_image_content_type, twitter_card, twitter_site, twitter_title, twitter_description, twitter_image, fb_warnings[], x_warnings[], zalo_warnings[], telegram_warnings[].
    • markdown_preview: Markdown sạch kèm YAML frontmatter của trang chủ.
    • related_bidding_packages[]: các gói thầu công liên kết khi extracted_mst khớp dữ liệu trong /v1/bidding/*.
    • related_domains[]: tối đa 6–8 tên miền cùng công nghệ/lĩnh vực.

2. Trích xuất Clean Markdown & Sinh llms.txt cho AI Agent

EndpointQuyềnChi phíCông dụng
GET hoặc POST /v1/radar/markdownradar:scan1 đơn vịLoại bỏ header, footer, script quảng cáo và trả về nội dung chính dạng Markdown sạch kèm YAML frontmatter. Tham số include_links (mặc định true). Trả về domain, url, http_status, include_links, word_count, markdown.
GET hoặc POST /v1/radar/llms-txtradar:scan2 đơn vị (8 đơn vị AI)Thu thập tới 25 liên kết cùng nguồn gốc (sitemap.xml + HTML) và sinh chuẩn llms.txt + llms-full.txt (2 đơn vị mặc định; 8 đơn vị khi bật tóm tắt AI enhance=true). Trả về domain, llms_txt, llms_full_txt, links_count, ai_enhanced.
curl "https://api.crawlpipe.com/v1/radar/llms-txt?url=https://shopify.com&enhance=true" \
-H "Authorization: Bearer cp_live_a1b2c3d4e5f6…"

3. Lọc khách hàng tiềm năng B2B (GET /v1/radar/leads)

Endpoint GET /v1/radar/leads (scope radar:read, 1 đơn vị) hỗ trợ tra cứu ngược các website đáp ứng điều kiện công nghệ và tuân thủ tại Việt Nam & toàn cầu:

  • tech / exclude_tech: Bao gồm hoặc loại trừ slug công nghệ (vd tech=shopify,nextjs&exclude_tech=cloudflare).
  • hosting: Lọc theo nhà cung cấp Hosting/CDN (vd Viettel, AWS, Cloudflare).
  • country: Mã quốc gia (VN, US, SG…).
  • has_email / has_phone: Chỉ lấy tên miền trích xuất được email hoặc số điện thoại liên hệ công khai.
  • bct_missing=true: Tìm các website Việt Nam chưa có chứng nhận Bộ Công Thương (NĐ 52).
  • has_bidding_mst=true: Lọc các website doanh nghiệp có Mã số thuế trùng khớp với gói thầu trong /v1/bidding/*.
  • q: Tìm kiếm chuỗi con theo tên miền, tiêu đề hoặc tên doanh nghiệp.
  • Phân trang cursor tối đa 50 bản ghi mỗi lần (limit, cursor). Phản hồi gồm {results[], total, next_cursor}.
curl "https://api.crawlpipe.com/v1/radar/leads?tech=shopify&country=VN&has_email=true&limit=20" \
-H "Authorization: Bearer cp_live_a1b2c3d4e5f6…"

4. Quét hàng loạt & Xuất CSV/JSONL (/v1/radar/bulk)

Khi cần phân tích danh sách lớn tên miền theo lô:

  1. POST /v1/radar/bulk (scope radar:write hoặc manage, chi phí 1 đơn vị / tên miền): Gửi mảng domains, export_format ("csv" hoặc "jsonl"), và run_async (tùy chọn; job &lt;= 25 tên miền mặc định chạy đồng bộ nếu không bật run_async=true). Giới hạn mỗi job: 5 (Free), 50 (Starter), 250 (Builder), 1.000 (Pro), 2.500 (GEO Agency).
  2. GET /v1/radar/bulk/{job_id} (scope radar:read hoặc read, 1 đơn vị): Kiểm tra tiến độ processed_domains / total_domains và trạng thái status.
  3. GET /v1/radar/bulk/{job_id}/export (scope radar:export hoặc manage, 1 đơn vị): Nhận liên kết tải về đã ký (download_url, expires_at) lưu trên cloud storage an toàn.
curl -X POST "https://api.crawlpipe.com/v1/radar/bulk" \
-H "Authorization: Bearer cp_live_a1b2c3d4e5f6…" \
-H "Content-Type: application/json" \
-d '{"domains": ["shopify.com", "vnexpress.net", "habifyhub.com"], "export_format": "csv"}'

5. Đo hiệu năng Google PageSpeed Insights v5 (GET / POST /v1/radar/pagespeed)

Chạy phân tích Google Lighthouse & Chrome UX Report (CrUX) cho mobile hoặc desktop (scope radar:scan):

  • Tham số: url (bắt buộc), strategy ("mobile" | "desktop", mặc định "mobile"), refresh (boolean, mặc định false — cooldown 15 phút/tên miền để bảo vệ hạn mức Google API).
  • Chi phí: 1 đơn vị khi trả từ cache 24h; 2 đơn vị khi gọi Google PSI trực tiếp.
  • Hạn mức ngày theo gói: 10/ngày (Free), 50/ngày (Starter), 200/ngày (Builder), 1.000/ngày (Pro), 2.500/ngày (GEO Agency). Vượt ngưỡng sẽ trả về 429 rate_limited kèm details.allowance.
  • Dữ liệu trả về: domain, strategy, cached, stale, cooldown_active, quota_limited, retry_after_seconds, allowance, all_strategies, và pagespeed (scores: performance, accessibility, best_practices, seo; lab_metrics: fcp_ms, lcp_ms, cls, tbt_ms, si_ms, ttfb_ms, total_byte_weight, network_requests; field_metrics CrUX; opportunities[]; diagnostics: mainthread_work_ms, bootup_time_ms, dom_size).
curl "https://api.crawlpipe.com/v1/radar/pagespeed?url=https://shopify.com&strategy=mobile" \
-H "Authorization: Bearer cp_live_a1b2c3d4e5f6…"

6. Theo dõi Hiện diện Thương hiệu AI — GEO / AEO (/v1/radar/geo/*)

Đo lường tần suất được nhắc tên, thứ hạng, sắc thái, Share of Voice và trích dẫn nguồn URL của thương hiệu trên openai, perplexity, gemini, claude, qwen:

EndpointQuyềnChi phíMô tả
GET /v1/radar/geo/checkradar:scan1–3 GEO credit / engineKiểm tra trực tiếp theo brand, domain, prompt, engines (ngăn cách dấu phẩy), competitors, country, language, tùy chọn project_id.
GET /v1/radar/geo/projectsradar:read1 đơn vịDanh sách dự án GEO, số thương hiệu đang theo dõi và số dư GEO credit tháng.
POST /v1/radar/geo/projectsradar:write1 đơn vịTạo dự án GEO (name, brand_name, domain, brand_aliases, competitors, schedule_frequency, prompts, trường white-label trên geo_agency).
GET /v1/radar/geo/projects/{project_id}radar:read1 đơn vịChi tiết dự án, danh sách prompts và 25 lần chạy gần nhất.
PATCH / DELETE /v1/radar/geo/projects/{project_id}radar:write1 đơn vịCập nhật cấu hình đối thủ, lịch quét, white-label hoặc xóa dự án.
POST /v1/radar/geo/projects/{project_id}/promptsradar:write1 đơn vịThêm câu hỏi theo dõi mới (prompt_text, topic, engines).
POST /v1/radar/geo/projects/{project_id}/runradar:scan1–3 GEO credit / engineChạy probe theo prompt_id, prompt_text hoặc toàn bộ prompt đang bật (run_async: true đưa vào hàng đợi worker với 1 đơn vị).
GET /v1/radar/geo/reportradar:read1 đơn vịMa trận Share of Voice (engine_matrix), chuỗi xu hướng trends (days=1..365), top_citation_gaps và summary.

Bảng quy đổi GEO Credit & Hạn mức gói

  • Chi phí credit theo AI engine: qwen = 1, perplexity = 2, gemini = 2, openai = 3, claude = 3 credit cho mỗi lượt hỏi prompt.
  • Hạn mức hàng tháng (kèm gói nạp thêm GEO Credit tích lũy qua các tháng geo_500 / geo_1000 / geo_2500, chỉ trừ sau khi hết quỹ tháng):
    • Free: 3 GEO credit/tháng, 1 thương hiệu
    • Starter: 60 GEO credit/tháng, 2 thương hiệu
    • Builder: 200 GEO credit/tháng, 5 thương hiệu
    • Pro: 800 GEO credit/tháng, 10 thương hiệu
    • GEO Agency: 2.500 GEO credit/tháng, 20 thương hiệu + xuất báo cáo White-Label HTML/CSV/JSON cho khách hàng
curl "https://api.crawlpipe.com/v1/radar/geo/check?brand=CrawlPipe&domain=crawlpipe.com&prompt=API+tra+cuu+phap+luat+VN&engines=openai,perplexity,gemini" \
-H "Authorization: Bearer cp_live_a1b2c3d4e5f6…"

Xem thêm mục Web Radar Workspace trong Dashboard để quản lý Watchlist theo dõi biến động Tech Stack / SSL / BCT, theo dõi GEO theo thời gian (?tab=geo), quét hàng loạt trực quan và đồng bộ lead sang Reachava hoặc Landopa.

Web Radar: Quét Tech Stack, Markdown & B2B Leads — CrawlPipe Tài liệu