Comprehensive API reference for HackerStats platform
/api/graphRetrieve and query graph data from Neo4j database
GET /api/graph?nodeType=all&limit=100GET /api/graph?nodeType=hackers&limit=50POST /api/graph
{
"query": "MATCH (h:Hacker)-[:CONTRIBUTED_TO]->(d:Devpost) RETURN h, d LIMIT 10"
}{
"nodes": [
{
"id": "node1",
"label": "Hacker",
"properties": {
"name": "John Doe",
"username": "johndoe"
}
}
],
"links": [
{
"source": "node1",
"target": "node2",
"type": "CONTRIBUTED_TO"
}
],
"totalNodes": 100,
"totalLinks": 150
}Get started with the HackerStats API in just a few steps:
Select the appropriate API endpoint for your use case
Send HTTP requests with proper parameters and headers
Handle the JSON response and integrate with your application