F
Fsociety API DOCS
Home Docs
API: OPERATIONAL

API Reference

Full guide to integrating Fsociety Search API. REST API with key authentication.

$ curl -X POST "https://fsocietyapi.cc.cd/api/search" \
  -H "X-API-Key: Fsociety_xxx" \
  -H "Content-Type: application/json" \
  -d '{"query":"79001234567","search_type":"phone"}'
Base URL https://fsocietyapi.cc.cd Format JSON Method GET / POST Price $0.04

How it works

Fsociety Search API. One request — aggregated results from all connected sources.

01
Get API key
Create an app in the Telegram bot
02
Add header
X-API-Key: Fsociety_your_key
03
Make request
POST /api/search

Authentication

All requests require header:

X-API-Key: Fsociety_ваш_ключ

Request parameters

query — required — search string
search_type — optional — phone / email / fio / vk / tg / ip / snils / inn / car / passport
include — optional

Endpoints

POST /api/search

Main search. Returns raw data from all sources.

{"query": "79001234567", "search_type": "phone"}
GET /api/status

API status and sources list.

GET /api/types

Supported search types.

Search methods

TypeDescriptionExample
phonePhone number79001234567
emailEmailuser@example.com
fioFull nameИванов Иван
vkVKontakteid123456
tgTelegram ID123456789
ipIP address8.8.8.8
snilsSNILS12345678901
innINN771234567890
carCar / VINА123ВС77
passportPassport4512 123456

Response example

{
  "status": "success",
  "query": "79001234567",
  "search_type": "phone",
  "sources": [ ... ],
  "total_found": 3,
  "summary": { "total_sources": 3, "sources_with_data": 3 }
}

Error codes

CodeDescription
200Success
400Missing query
401Invalid / inactive key or low balance
500Server error

Python

import requests
r = requests.post("https://fsocietyapi.cc.cd/api/search",
    headers={"X-API-Key": "Fsociety_ваш_ключ", "Content-Type": "application/json"},
    json={"query": "79001234567", "search_type": "phone"})
print(r.json())

cURL

curl -X POST https://fsocietyapi.cc.cd/api/search \
  -H "X-API-Key: Fsociety_ваш_ключ" \
  -H "Content-Type: application/json" \
  -d '{"query":"79001234567","search_type":"phone"}'

Node.js

const r = await fetch("https://fsocietyapi.cc.cd/api/search", {
  method: "POST",
  headers: { "X-API-Key": "Fsociety_ваш_ключ", "Content-Type": "application/json" },
  body: JSON.stringify({ query: "79001234567", search_type: "phone" })
});
console.log(await r.json());