Zum Inhalt

Erste Schritte mit NumerologyAPI

Dieser Leitfaden führt Sie durch:

  • Erstellung eines Entwicklerkontos
  • Generierung eines API-Schlüssels
  • Verständnis der Authentifizierung
  • Durchführung Ihres ersten API-Aufrufs

NumerologyAPI bietet über 203 produktionsreife Endpunkte, die Folgendes abdecken:

  • Numerologie-Berechnungen
  • Astrologische Einblicke
  • Tierkreis-Kompatibilität
  • Engelszahlen
  • Geburtshoroskop-Interpretationen

Alle Endpunkte unterstützen mehrsprachige Antworten.


1. Erstellen Sie Ihr Entwicklerkonto

Der empfohlene Weg, auf NumerologyAPI zuzugreifen, ist über die offizielle Entwicklerplattform.

  1. Öffnen Sie das Entwickler-Dashboard https://dashboard.numerologyapi.com

  2. Erstellen Sie Ihr Konto

  3. Generieren Sie einen API-Schlüssel für Ihre Organisation

  4. Laden Sie Guthaben in Ihr Wallet auf (Pay-as-you-go-Abrechnung)

Ihr API-Schlüssel sieht etwa so aus:

tnea_xxxxxxxxxxxxxxxxx

2. Basis-URL

Alle Anfragen werden an das NumerologyAPI-Gateway gesendet.

Element Wert
Basis-URL https://api.numerologyapi.com/api/v1
Protokoll HTTPS
Antwortformat JSON

Beispiel-Endpunkt:

https://api.numerologyapi.com/api/v1/life_path

3. Authentifizierung

Jede Anfrage muss Ihren API-Schlüssel enthalten.

x-api-key: YOUR_API_KEY

Beispiel-Anfrage-Header:

GET /api/v1/life_path HTTP/1.1
Host: api.numerologyapi.com
x-api-key: YOUR_API_KEY

4. Erste Anfrage – Lebensweg-Nummer

GET-Anfrage

curl --request GET \
  --url "https://api.numerologyapi.com/api/v1/life_path?birth_year=1990&birth_month=5&birth_day=15" \
  --header "x-api-key: YOUR_API_KEY"

5. POST-Variante (JSON-Body)

Einige Endpunkte unterstützen auch POST-Anfragen.

curl --request POST \
  --url https://api.numerologyapi.com/api/v1/life_path \
  --header "x-api-key: YOUR_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "birth_year": "1990",
    "birth_month": "5",
    "birth_day": "15"
  }'

6. Sprachunterstützung

Alle Endpunkte unterstützen den optionalen Parameter lang.

Beispiel:

?lang=fr

Unterstützte Sprachen:

Code Sprache
en Englisch
es Spanisch
de Deutsch
fr Französisch
pt Portugiesisch

Beispiel-Anfrage:

/api/v1/life_path?birth_year=1990&birth_month=5&birth_day=15&lang=es

7. Code-Beispiele

Python (requests)

import requests

url = "https://api.numerologyapi.com/api/v1/life_path"

params = {
    "birth_year": 1990,
    "birth_month": 5,
    "birth_day": 15
}

headers = {
    "x-api-key": "YOUR_API_KEY"
}

response = requests.get(url, headers=headers, params=params)

print(response.json())

PHP (cURL)

<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.numerologyapi.com/api/v1/life_path?birth_year=1990&birth_month=5&birth_day=15",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_HTTPHEADER => [
    "x-api-key: YOUR_API_KEY"
  ],
]);

$response = curl_exec($curl);
curl_close($curl);

echo $response;

?>

Java

Script (Fetch)

const url = new URL("https://api.numerologyapi.com/api/v1/life_path");

url.searchParams.append("birth_year", "1990");
url.searchParams.append("birth_month", "5");
url.searchParams.append("birth_day", "15");

fetch(url, {
    method: "GET",
    headers: {
        "x-api-key": "YOUR_API_KEY"
    }
})
.then(r => r.json())
.then(console.log);

Node.js (axios)

const axios = require("axios");

axios.get("https://api.numerologyapi.com/api/v1/life_path", {
  params: {
    birth_year: 1990,
    birth_month: 5,
    birth_day: 15
  },
  headers: {
    "x-api-key": "YOUR_API_KEY"
  }
})
.then(res => console.log(res.data));

8. Abrechnungsmodell

NumerologyAPI verwendet ein kreditbasiertes Abrechnungssystem.

1 API-Anfrage = 1 Guthaben
1 USD = 3.921,57 Guthaben

Guthaben werden über alle 203+ Endpunkte hinweg gemeinsam genutzt.

Besuchen Sie Preisgestaltung für weitere Details.


9. RapidAPI-Zugriff

Die Numerology API ist auch auf RapidAPI verfügbar, für Entwickler, die diesen Marktplatz bereits nutzen.

RapidAPI benötigt folgende Header:

x-rapidapi-key
x-rapidapi-host

Beispiel-Endpunkt:

https://the-numerology-api.p.rapidapi.com/life_path

Zugriff hier:

https://rapidapi.com/dakidarts-dakidarts-default/api/the-numerology-api


10. Nächste Schritte

Nachdem Sie Ihre erste Anfrage gestellt haben:

Sie sind jetzt bereit, NumerologyAPI in Ihre Anwendung zu integrieren.