Genel Bakış
Astra API — ücretsiz Türkçe API servisi. Kayıt, API anahtarı veya ücret gerektirmez.
Tüm endpointler
https://api.astra-dev.com.tr/api/ altındadır.
27
Toplam Endpoint
%100
Ücretsiz
GET
Sadece GET
Endpointler
GET
/api/havadurumu?city=
Şehre göre hava durumu
| Parametre | Tip | Açıklama |
|---|---|---|
| cityzorunlu | string | Şehir adı (Türkçe veya İngilizce) |
HTTP
GET https://api.astra-dev.com.tr/api/havadurumu?city=Istanbul
Örnek Yanıt
{
"sehir": "Istanbul",
"sicaklik": 24.5,
"hissedilen": 23.1,
"nem": 65,
"ruzgar": 4.2,
"durum": "az bulutlu"
}
Dene
GET
/api/deprem
Son 10 deprem (AFAD)
HTTP
GET https://api.astra-dev.com.tr/api/deprem
Örnek Yanıt
[
{
"tarih": "2025.01.15 08:23:11",
"enlem": "38.5021",
"boylam": "38.7531",
"derinlik": "7.0",
"tip": "Ke",
"buyukluk": "2.4",
"yer": "BINGOL"
}
]
Dene
GET
/api/doviz
TCMB döviz kurları
HTTP
GET https://api.astra-dev.com.tr/api/doviz
Örnek Yanıt
{
"dolar": { "alis": "32.4512", "satis": "32.5123" },
"euro": { "alis": "35.1200", "satis": "35.2100" },
"sterlin": { ... },
"yuan": { ... },
"ruble": { ... },
"manat": { ... },
"dinar": { ... }
}
Dene
GET
/api/namazvakitleri?sehir=
Günlük namaz vakitleri
| Parametre | Tip | Açıklama |
|---|---|---|
| sehirzorunlu | string | Şehir adı (ör: Istanbul) |
HTTP
GET https://api.astra-dev.com.tr/api/namazvakitleri?sehir=Istanbul
Dene
GET
/api/wikipedia?q=
Türkçe Wikipedia özeti
| Parametre | Tip | Açıklama |
|---|---|---|
| qzorunlu | string | Aranacak terim |
HTTP
GET https://api.astra-dev.com.tr/api/wikipedia?q=Ataturk
Örnek Yanıt
{
"title": "Mustafa Kemal Atatürk",
"description": "Türk devlet adamı ve asker",
"extract": "Mustafa Kemal Atatürk...",
"thumbnail": "https://...",
"wikipedia_url": "https://tr.wikipedia.org/..."
}
Dene
GET
/api/tdk?kelime=
TDK sözlük tanımı
| Parametre | Tip | Açıklama |
|---|---|---|
| kelimezorunlu | string | Türkçe kelime |
HTTP
GET https://api.astra-dev.com.tr/api/tdk?kelime=merhaba
Dene
GET
/api/haberler
Güncel Türkçe haberler
HTTP
GET https://api.astra-dev.com.tr/api/haberler
Dene
GET
/api/ceviri?text=&to=
Metin çevirisi
| Parametre | Tip | Açıklama |
|---|---|---|
| textzorunlu | string | Çevrilecek metin |
| toopsiyonel | string | Hedef dil kodu (ör: en, de) |
HTTP
GET https://api.astra-dev.com.tr/api/ceviri?text=Merhaba&to=en
Dene
GET
/api/github?user=
GitHub kullanıcı bilgisi
| Parametre | Tip | Açıklama |
|---|---|---|
| userzorunlu | string | GitHub kullanıcı adı |
HTTP
GET https://api.astra-dev.com.tr/api/github?user=torvalds
Dene
GET
/api/mc-sunucu-bilgi/:ip
Minecraft sunucu durumu
| Parametre | Tip | Açıklama |
|---|---|---|
| :ipzorunlu | string | Sunucu IP adresi veya alan adı |
HTTP
GET https://api.astra-dev.com.tr/api/mc-sunucu-bilgi/play.hypixel.net
Dene
GET
/api/tiktokvideobilgi?url=
TikTok video bilgisi
| Parametre | Tip | Açıklama |
|---|---|---|
| urlzorunlu | string | TikTok video URL'si |
HTTP
GET https://api.astra-dev.com.tr/api/tiktokvideobilgi?url=https://vm.tiktok.com/...
Dene
GET
/api/trendyol?url=
Trendyol ürün bilgisi
| Parametre | Tip | Açıklama |
|---|---|---|
| urlzorunlu | string | Trendyol ürün URL'si |
HTTP
GET https://api.astra-dev.com.tr/api/trendyol?url=https://www.trendyol.com/...
Dene
GET
/api/ekrangoruntusu?url=
Web sayfası ekran görüntüsü (PNG)
| Parametre | Tip | Açıklama |
|---|---|---|
| urlzorunlu | string | Tam URL (https:// dahil) |
HTTP
GET https://api.astra-dev.com.tr/api/ekrangoruntusu?url=https://example.com
# Yanıt: image/png dosyası
GET
/api/qrcode?text=
QR kod üretici
| Parametre | Tip | Açıklama |
|---|---|---|
| textzorunlu | string | QR koda gömülecek metin veya URL |
HTTP
GET https://api.astra-dev.com.tr/api/qrcode?text=https://astra-dev.com.tr
# Yanıt: image/png QR kodu
GET
/api/discord-id-bilgi?id=
Discord kullanıcı bilgisi
| Parametre | Tip | Açıklama |
|---|---|---|
| idzorunlu | string | Discord kullanıcı ID'si (snowflake) |
HTTP
GET https://api.astra-dev.com.tr/api/discord-id-bilgi?id=123456789012345678
Dene
GET
/api/discord-invite-bilgi?code=
Discord davet bilgisi
| Parametre | Tip | Açıklama |
|---|---|---|
| codezorunlu | string | Davet kodu (ör: discord.gg/KOD) |
HTTP
GET https://api.astra-dev.com.tr/api/discord-invite-bilgi?code=discord
Dene
GET
/api/unix
Unix timestamp dönüştürücü
HTTP
GET https://api.astra-dev.com.tr/api/unix
Dene
GET
/api/ip?adres=
IP adres bilgisi
| Parametre | Tip | Açıklama |
|---|---|---|
| adresopsiyonel | string | Sorgulanacak IP adresi. Boş bırakılırsa isteği yapan IP sorgulanır. |
HTTP
GET https://api.astra-dev.com.tr/api/ip GET https://api.astra-dev.com.tr/api/ip?adres=8.8.8.8
Örnek Yanıt
{
"ip": "8.8.8.8",
"ulke": "United States",
"ulke_kodu": "US",
"sehir": "Mountain View",
"saat_dilimi": "America/Los_Angeles",
"isp": "Google LLC"
}
Dene
GET
/api/ssl?domain=
SSL sertifika bilgisi
| Parametre | Tip | Açıklama |
|---|---|---|
| domainzorunlu | string | Alan adı (ör: google.com) |
HTTP
GET https://api.astra-dev.com.tr/api/ssl?domain=google.com
Örnek Yanıt
{
"domain": "google.com",
"gecerli": true,
"kalan_gun": 72,
"baslangic": "01.04.2025",
"bitis": "24.06.2025",
"veren": "Google Trust Services"
}
Dene
GET
/api/saat?sehir=
Dünya saati
| Parametre | Tip | Açıklama |
|---|---|---|
| sehirzorunlu | string | Timezone adı (ör: Europe/Istanbul, America/New_York) |
HTTP
GET https://api.astra-dev.com.tr/api/saat?sehir=Europe/Istanbul
Örnek Yanıt
{
"bolge": "Europe/Istanbul",
"tarih": "11.06.2025",
"saat": "14:32:07",
"utc_offset": "+03:00",
"yaz_saati": false
}
Dene
GET
/api/doviz-cevirici?miktar=&den=&kime=
Döviz çevirici (TCMB)
| Parametre | Tip | Açıklama |
|---|---|---|
| miktarzorunlu | number | Çevrilecek miktar |
| denzorunlu | string | Kaynak para birimi (usd, eur, gbp, tl, cny, rub, aed) |
| kimezorunlu | string | Hedef para birimi |
HTTP
GET https://api.astra-dev.com.tr/api/doviz-cevirici?miktar=100&den=usd&kime=tl
Örnek Yanıt
{
"miktar": 100,
"den": "USD",
"kime": "TL",
"sonuc": 3245.12,
"kaynak": "TCMB"
}
Dene
GET
/api/renk?hex=
HEX / RGB / HSL dönüştürücü
| Parametre | Tip | Açıklama |
|---|---|---|
| hexya da | string | HEX renk kodu (# ile ya da olmadan) |
| r, g, bya da | number | RGB değerleri (0-255) |
HTTP
GET https://api.astra-dev.com.tr/api/renk?hex=a78bfa GET https://api.astra-dev.com.tr/api/renk?r=167&g=139&b=250
Örnek Yanıt
{
"hex": "#A78BFA",
"rgb": { "r": 167, "g": 139, "b": 250 },
"rgb_string": "rgb(167, 139, 250)",
"hsl": { "h": 258, "s": 92, "l": 76 },
"hsl_string": "hsl(258, 92%, 76%)"
}
Dene
GET
/api/base64?metin=&islem=
Base64 encode / decode
| Parametre | Tip | Açıklama |
|---|---|---|
| metinzorunlu | string | İşlenecek metin |
| islemopsiyonel | string | encode (varsayılan) veya decode |
HTTP
GET https://api.astra-dev.com.tr/api/base64?metin=Merhaba&islem=encode GET https://api.astra-dev.com.tr/api/base64?metin=TWVyaGFiYQ==&islem=decode
Dene
GET
/api/uuid?adet=
UUID v4 üretici
| Parametre | Tip | Açıklama |
|---|---|---|
| adetopsiyonel | number | Üretilecek UUID sayısı (varsayılan: 1, maks: 50) |
HTTP
GET https://api.astra-dev.com.tr/api/uuid GET https://api.astra-dev.com.tr/api/uuid?adet=5
Dene
GET
/api/metin-analiz?metin=
Metin istatistikleri
| Parametre | Tip | Açıklama |
|---|---|---|
| metinzorunlu | string | Analiz edilecek metin |
HTTP
GET https://api.astra-dev.com.tr/api/metin-analiz?metin=Merhaba+dünya
Örnek Yanıt
{
"karakter_sayisi": 13,
"kelime_sayisi": 2,
"benzersiz_kelime": 2,
"cumle_sayisi": 1,
"okuma_suresi_dk": 1,
"en_sik_kelimeler": [...]
}
Dene
GET
/api/rastgele-sayi?min=&max=
Rastgele sayı üretici
| Parametre | Tip | Açıklama |
|---|---|---|
| minopsiyonel | number | Alt sınır (varsayılan: 1) |
| maxopsiyonel | number | Üst sınır (varsayılan: 100) |
| adetopsiyonel | number | Üretilecek sayı adedi (maks: 100) |
HTTP
GET https://api.astra-dev.com.tr/api/rastgele-sayi?min=1&max=1000 GET https://api.astra-dev.com.tr/api/rastgele-sayi?min=1&max=6&adet=5
Dene
GET
/api/rastgele-kelime?adet=
Rastgele Türkçe kelime
| Parametre | Tip | Açıklama |
|---|---|---|
| adetopsiyonel | number | Kelime sayısı (varsayılan: 1, maks: 20) |
HTTP
GET https://api.astra-dev.com.tr/api/rastgele-kelime GET https://api.astra-dev.com.tr/api/rastgele-kelime?adet=5
Dene