// NEURAL SCRAPING ENGINE v1.0
SCRPR
REAL-TIME NEWS INTELLIGENCE · 12 INDONESIAN SOURCES · FREE PUBLIC API
12+
SOURCES
FREE
API
REST
PROTOCOL
JSON
OUTPUT
SELECT_TARGET
>_
LIMIT:10
OUTPUT_STREAM
-- results
▓▒░ AWAITING INPUT ░▒▓
select source · type keyword · execute
⚠ SCRAPE_FAILED
PUBLIC API DOCUMENTATION
API ini gratis dan terbuka untuk publik. Tidak perlu API key atau registrasi.
Semua endpoint mengembalikan JSON.
Base URL: detecting...
GET
/api/scraper
Scrape berita dari satu sumber tertentu.
site string · wajib
q string · wajib
limitnumber · default 10
// request
GET [BASE_URL]/api/scraper?site=kompas&q=pemilu&limit=5
// response
{
"status": true,
"total": 5,
"source": "kompas",
"data": [
{
"title": "Judul berita...",
"link": "https://...",
"time": "2 jam lalu",
"source": "Kompas",
"thumb": "https://..."
}
]
}
GET
/api/scraper/all
Scrape dari semua sumber sekaligus secara paralel.
q string · wajib
limit per sumber · default 5
GET [BASE_URL]/api/scraper/all?q=banjir&limit=3
{
"status": true,
"total": 28,
"sources": [
{ "source": "kompas", "total": 3, "ok": true },
{ "source": "detik", "total": 3, "ok": true }
],
"data": [ ... ]
}
GET
/api/scraper/list
Daftar semua scraper yang tersedia.
GET [BASE_URL]/api/scraper/list
{ "status": true, "scrapers": ["kompas", "detik", ...] }
USAGE EXAMPLES
// JavaScript
const res = await fetch('[BASE_URL]/api/scraper?site=detik&q=teknologi&limit=10')
const data = await res.json()
console.log(data.data) // array of articles
// Node.js (axios)
const { data } = await axios.get('[BASE_URL]/api/scraper', {
params: { site: 'tempo', q: 'ekonomi', limit: 10 }
})
// cURL
curl "[BASE_URL]/api/scraper?site=antara&q=politik"
DATA_SOURCES
Kompas
kompas
Detik
detik
CNN Indonesia
cnnindonesia
Liputan6
liputan6
Tribunnews
tribun
Tempo
tempo
Republika
republika
Antara
antara
Okezone
okezone
Sindonews
sindonews
Merdeka
merdeka
Kumparan
kumparan