Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Watsons Category Listings

https://api.sandbase.ai/v1/api/watsons/scrape/category

Extract product listings from a Watsons category page URL, including names, prices and promotions.

ราคา
$0.021USD / คำขอ
Method
POST
การตอบกลับ
Async JSON
พารามิเตอร์
1 จำเป็น · 0 ไม่บังคับ

Playground

อินพุต
Full Watsons page URL, e.g. https://www.watsons.com.my/health-care/vitamins-minerals/c/110100 รูปแบบ: URL แบบสมบูรณ์.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

Watsons Category Listings

Extract product listings from a Watsons category page URL, including names, prices and promotions.

Request

curl -X POST "https://api.sandbase.ai/v1/api/watsons/scrape/category" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.watsons.com.my/health-care/vitamins-minerals/c/110100"}'

This API runs asynchronously. The call returns a task id with status pending; poll GET https://api.sandbase.ai/v1/run/{id} until status is completed and read the result from outputs[0].data.

Parameters

NameTypeRequiredDescription
urlstringYesFull Watsons page URL, e.g. https://www.watsons.com.my/health-care/vitamins-minerals/c/110100

Pricing

Flat price per call. Failed calls are not charged.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Watsons$0.021 ต่อการเรียกAsync JSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Watsons Category Listings API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/watsons/scrape/category โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Watsons Category Listings API ราคาเท่าไร?

$0.021 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Watsons Category Listings API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: url (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Watsons Category Listings API ส่งคืนอะไร?

ผลลัพธ์ JSON จุดเชื่อมต่อนี้ทำงานแบบอะซิงโครนัส ดังนั้นการตอบกลับจะบอกวิธีดึงผลลัพธ์ที่เสร็จแล้ว

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Watsons ไหม?

ไม่จำเป็น Watsons Category Listings ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Watsons API แยกต่างหาก