Copy page

Copy page as Markdown for LLMs

View as Markdown

View this page as plain text


Open in ChatGPT

Ask ChatGPT about this page

Open in Claude

Ask Claude about this page

Two Number Arrow

The Two Number Arrows API uncovers unique insights derived from specific pairings of numbers in a numerological grid. By analyzing the interaction between two numbers, the API reveals personality tendencies, life challenges, and pathways to success. This tool is perfect for exploring how number combinations influence behaviors and outcomes, offering guidance for personal and professional growth.


Step by Step Two Number Arrow API Postman Testing Integration

Step by Step Two Number Arrow API Postman Testing Integration


Endpoint

POST https://astroapi-7.divineapi.com/numerology/v1/two-numbers-arrows

Headers

NameTypeDescription
Authorization*StringYour API Access Token. Example: Bearer {token}

Request Body

NameTypeDescription
api_key*StringYour DivineAPI Key (available in your dashboard).
day*IntegerDate of birth. Example: 24.
month*IntegerMonth of birth. Example: 05.
year*IntegerYear of birth. Example: 2023.
fname*StringFirst name. Example: Rahul.
lnameStringLast name. Example: Kumar.
lanStringResponse language. Default: en. Supported: en or hi.

200: OK Numbers Fetched Successfully

{
    "status": "success",
    "code": 200,
    "message": "Request was successful",
    "data": [
        {
            "number_one": 3,
            "number_two": 9,
            "result": "You have a habit of arguing a lot without much reason. Because of this, you will get into a lot of unnecessary fights. If the situation gets out of hand, you will land in police custody. You will be stuck in litigation and court proceedings. So, you should always stay away from such fights. If you do not, you will lose. You could also suffer financial loss. "
        },
        {
            "number_one": 5,
            "number_two": 6,
            "result": "It is an important combination for success in life. The number five represents balance while the number six represents luxury. You should work tirelessly to achieve your goals. With hard work and determination, you will succeed certainly only in a matter of time. If you face any difficulties in your journey, you should check your driver and conductor number. Also, check its compatibility with your name number. If these numbers are not compatible, you will face obstacles in life. Name number 5 will be very good for you. "
        }
    ]
}

Example Code Implementations

Below are example implementations in multiple programming environments.


cURL

curl --location 'https://astroapi-7.divineapi.com/numerology/v1/two-numbers-arrows' \
--header 'Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'day="24"' \
--form 'month="05"' \
--form 'year="2023"' \
--form 'fname="Rahul"' \
--form 'lname="Kumar"' \
--form 'lan="en"'

NodeJS

var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://astroapi-7.divineapi.com/numerology/v1/two-numbers-arrows',
  'headers': {
    'Authorization': 'Bearer {Your Auth Token}'
  },
  formData: {
    'api_key': '{Your API Key}',
    'day': '24',
    'month': '05',
    'year': '2023',
    'fname': 'Rahul',
    'lname': 'Kumar',
    'lan': 'en'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

JavaScript jQuery AJAX

var form = new FormData();
form.append("api_key", "{Your API Key}");
form.append("day", "24");
form.append("month", "05");
form.append("year", "2023");
form.append("fname", "Rahul");
form.append("lname", "Kumar");
form.append("lan", "en");

var settings = {
  "url": "https://astroapi-7.divineapi.com/numerology/v1/two-numbers-arrows",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer {Your Auth Token}"
  },
  "processData": false,
  "mimeType": "multipart/form-data",
  "contentType": false,
  "data": form
};

$.ajax(settings).done(function (response) {
  console.log(response);
});

Python

import requests

url = "https://astroapi-7.divineapi.com/numerology/v1/two-numbers-arrows"

payload = {'api_key': '{Your API Key}',
'day': '24',
'month': '05',
'year': '2023',
'fname': 'Rahul',
'lname': 'Kumar',
'lan': 'en'}

headers = {
  'Authorization': 'Bearer {Your Auth Token}'
}

response = requests.request("POST", url, headers=headers, data=payload,)

print(response.text)
Example Code
curl -X POST "https://astroapi-7.divineapi.com/numerology/v1/two-numbers-arrows" \
  --form 'api_key="{Your API Key}"' \
  --form 'day="24"' \
  --form 'month="05"' \
  --form 'year="2023"' \
  --form 'fname="Rahul"' \
  --form 'lname="Kumar"' \
  --form 'lan="en"'
const FormData = require('form-data');
const axios = require('axios');

const form = new FormData();
form.append('api_key', '{Your API Key}');
form.append('day', '24');
form.append('month', '05');
form.append('year', '2023');
form.append('fname', 'Rahul');
form.append('lname', 'Kumar');
form.append('lan', 'en');

const response = await axios.post('https://astroapi-7.divineapi.com/numerology/v1/two-numbers-arrows', form, {
  headers: {
    ...form.getHeaders(),
  }
});

console.log(response.data);
import requests

url = "https://astroapi-7.divineapi.com/numerology/v1/two-numbers-arrows"
payload = {
    "api_key": "{Your API Key}",
    "day": "24",
    "month": "05",
    "year": "2023",
    "fname": "Rahul",
    "lname": "Kumar",
    "lan": "en",
}

response = requests.post(url, data=payload)

print(response.json())
const formData = new FormData();
formData.append('api_key', '{Your API Key}');
formData.append('day', '24');
formData.append('month', '05');
formData.append('year', '2023');
formData.append('fname', 'Rahul');
formData.append('lname', 'Kumar');
formData.append('lan', 'en');

const response = await fetch('https://astroapi-7.divineapi.com/numerology/v1/two-numbers-arrows', {
  method: 'POST',
  body: formData,
});

const data = await response.json();
console.log(data);
<?php

use GuzzleHttp\Client;

$client = new Client();

$response = $client->request('POST', 'https://astroapi-7.divineapi.com/numerology/v1/two-numbers-arrows', [
    'multipart' => [
        ['name' => 'api_key', 'contents' => '{Your API Key}'],
        ['name' => 'day', 'contents' => '24'],
        ['name' => 'month', 'contents' => '05'],
        ['name' => 'year', 'contents' => '2023'],
        ['name' => 'fname', 'contents' => 'Rahul'],
        ['name' => 'lname', 'contents' => 'Kumar'],
        ['name' => 'lan', 'contents' => 'en'],
    ],
]);

echo $response->getBody();
package main

import (
    "bytes"
    "fmt"
    "mime/multipart"
    "net/http"
    "io"
)

func main() {
    body := &bytes.Buffer{}
    writer := multipart.NewWriter(body)
    writer.WriteField("api_key", "{Your API Key}")
    writer.WriteField("day", "24")
    writer.WriteField("month", "05")
    writer.WriteField("year", "2023")
    writer.WriteField("fname", "Rahul")
    writer.WriteField("lname", "Kumar")
    writer.WriteField("lan", "en")
    writer.Close()

    req, _ := http.NewRequest("POST", "https://astroapi-7.divineapi.com/numerology/v1/two-numbers-arrows", body)
    req.Header.Set("Content-Type", writer.FormDataContentType())

    client := &http.Client{}
    resp, _ := client.Do(req)
    defer resp.Body.Close()

    body2, _ := io.ReadAll(resp.Body)
    fmt.Println(string(body2))
}
import okhttp3.*;
import java.io.IOException;

public class Main {
    public static void main(String[] args) throws IOException {
        OkHttpClient client = new OkHttpClient();

        RequestBody body = new MultipartBody.Builder()
            .setType(MultipartBody.FORM)
            .addFormDataPart("api_key", "{Your API Key}")
            .addFormDataPart("day", "24")
            .addFormDataPart("month", "05")
            .addFormDataPart("year", "2023")
            .addFormDataPart("fname", "Rahul")
            .addFormDataPart("lname", "Kumar")
            .addFormDataPart("lan", "en")
            .build();

        Request request = new Request.Builder()
            .url("https://astroapi-7.divineapi.com/numerology/v1/two-numbers-arrows")
            .post(body)
            .build();

        Response response = client.newCall(request).execute();
        System.out.println(response.body().string());
    }
}
import Foundation

let url = URL(string: "https://astroapi-7.divineapi.com/numerology/v1/two-numbers-arrows")!
var request = URLRequest(url: url)
request.httpMethod = "POST"

let boundary = "Boundary-\(UUID().uuidString)"
request.setValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: "Content-Type")

var bodyData = Data()
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"api_key\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("{Your API Key}\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"day\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("24\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"month\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("05\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"year\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("2023\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"fname\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("Rahul\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"lname\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("Kumar\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)\r\n".data(using: .utf8)!)
bodyData.append("Content-Disposition: form-data; name=\"lan\"\r\n\r\n".data(using: .utf8)!)
bodyData.append("en\r\n".data(using: .utf8)!)
bodyData.append("--\(boundary)--\r\n".data(using: .utf8)!)
request.httpBody = bodyData

let task = URLSession.shared.dataTask(with: request) { data, response, error in
    if let data = data {
        print(String(data: data, encoding: .utf8) ?? "")
    }
}
task.resume()
import okhttp3.*

fun main() {
    val client = OkHttpClient()

    val body = MultipartBody.Builder()
        .setType(MultipartBody.FORM)
        .addFormDataPart("api_key", "{Your API Key}")
        .addFormDataPart("day", "24")
        .addFormDataPart("month", "05")
        .addFormDataPart("year", "2023")
        .addFormDataPart("fname", "Rahul")
        .addFormDataPart("lname", "Kumar")
        .addFormDataPart("lan", "en")
        .build()

    val request = Request.Builder()
        .url("https://astroapi-7.divineapi.com/numerology/v1/two-numbers-arrows")
        .post(body!!)
        .build()

    client.newCall(request).execute().use { response ->
        println(response.body?.string())
    }
}
using System;
using System.Net.Http;
using System.Threading.Tasks;

class Program {
    static async Task Main() {
        using var client = new HttpClient();

        var content = new MultipartFormDataContent();
        content.Add(new StringContent("{Your API Key}"), "api_key");
        content.Add(new StringContent("24"), "day");
        content.Add(new StringContent("05"), "month");
        content.Add(new StringContent("2023"), "year");
        content.Add(new StringContent("Rahul"), "fname");
        content.Add(new StringContent("Kumar"), "lname");
        content.Add(new StringContent("en"), "lan");

        var response = await client.PostAsync("https://astroapi-7.divineapi.com/numerology/v1/two-numbers-arrows", content);
        var result = await response.Content.ReadAsStringAsync();
        Console.WriteLine(result);
    }
}