Skip to content

Commit 4b8aaee

Browse files
committed
Remove unmaintainted api
1 parent 680a3f8 commit 4b8aaee

2 files changed

Lines changed: 8 additions & 203 deletions

File tree

defillama-openapi-pro.json

Lines changed: 0 additions & 155 deletions
Original file line numberDiff line numberDiff line change
@@ -456,161 +456,6 @@
456456
"x-api-plan-only": true
457457
}
458458
},
459-
"/api/activeUsers": {
460-
"get": {
461-
"tags": ["active users"],
462-
"summary": "Get active users on our chains and protocols pages",
463-
"responses": {
464-
"200": {
465-
"description": "successful operation",
466-
"content": {
467-
"application/json": {
468-
"schema": {
469-
"type": "object",
470-
"additionalProperties": {
471-
"type": "object",
472-
"properties": {
473-
"name": {
474-
"type": "string",
475-
"example": "Compound V2"
476-
},
477-
"users": {
478-
"type": "object",
479-
"properties": {
480-
"value": {
481-
"type": "number",
482-
"example": 72
483-
},
484-
"end": {
485-
"type": "number",
486-
"example": 1752832840
487-
}
488-
}
489-
},
490-
"txs": {
491-
"type": "object",
492-
"properties": {
493-
"value": {
494-
"type": "string",
495-
"example": "103"
496-
},
497-
"end": {
498-
"type": "number",
499-
"example": 1752832840
500-
}
501-
}
502-
},
503-
"gasUsd": {
504-
"type": "object",
505-
"properties": {
506-
"value": {
507-
"type": "number",
508-
"example": 331.61595785000003
509-
},
510-
"end": {
511-
"type": "number",
512-
"example": 1752832840
513-
}
514-
}
515-
}
516-
}
517-
},
518-
"example": {
519-
"114": {
520-
"name": "Compound V2",
521-
"users": {
522-
"value": 72,
523-
"end": 1752832840
524-
},
525-
"txs": {
526-
"value": "103",
527-
"end": 1752832840
528-
},
529-
"gasUsd": {
530-
"value": 331.61595785000003,
531-
"end": 1752832840
532-
}
533-
},
534-
"121": {
535-
"name": "CREAM Lending",
536-
"users": {
537-
"value": 7,
538-
"end": 1752832840
539-
},
540-
"txs": {
541-
"value": "16",
542-
"end": 1752832840
543-
},
544-
"gasUsd": {
545-
"value": 36.184285131821,
546-
"end": 1752832840
547-
}
548-
}
549-
}
550-
}
551-
}
552-
}
553-
}
554-
},
555-
"x-api-plan-only": true
556-
}
557-
},
558-
"/api/userData/{type}/{protocolId}": {
559-
"get": {
560-
"tags": ["active users"],
561-
"summary": "Get user data by type(users/txs/gas/newusers) and protocol",
562-
"parameters": [
563-
{
564-
"name": "protocolId",
565-
"in": "path",
566-
"description": "protocol id",
567-
"required": true,
568-
"schema": {
569-
"type": "integer",
570-
"example": 319
571-
}
572-
},
573-
{
574-
"name": "type",
575-
"in": "path",
576-
"description": "type is one of the following (users/txs/gas/newusers)",
577-
"required": true,
578-
"schema": {
579-
"type": "string",
580-
"example": "txs"
581-
}
582-
}
583-
],
584-
"responses": {
585-
"200": {
586-
"content": {
587-
"application/json": {
588-
"schema": {
589-
"type": "array",
590-
"items": {
591-
"type": "array",
592-
"items": [
593-
{
594-
"type": "integer",
595-
"description": "timestamp",
596-
"example": 1621209600
597-
},
598-
{
599-
"type": "integer",
600-
"description": "total userData",
601-
"example": 87
602-
}
603-
]
604-
},
605-
"example": [[1621209600, 87], [1621296000, 188]]
606-
}
607-
}
608-
}
609-
}
610-
},
611-
"x-api-plan-only": true
612-
}
613-
},
614459
"/api/emissions": {
615460
"get": {
616461
"tags": ["Unlocks"],

llms.txt

Lines changed: 8 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -499,47 +499,7 @@ Base URL: `https://pro-api.llama.fi`
499499
```
500500

501501
===============================================================================
502-
SECTION 4: USER & ACTIVITY METRICS
503-
===============================================================================
504-
505-
Base URL: `https://pro-api.llama.fi`
506-
507-
31. 🔒 **GET /api/activeUsers**
508-
Purpose: Active users for all protocols
509-
Parameters: None
510-
Response:
511-
```json
512-
{
513-
"aave-v3": {
514-
"name": "Aave V3",
515-
"users": {"value": 15234, "end": 1752832840},
516-
"txs": {"value": "45678", "end": 1752832840},
517-
"gasUsd": {"value": 12345.67, "end": 1752832840},
518-
"newUsers": {"value": 234, "end": 1752832840},
519-
"chainBreakdown": {
520-
"Ethereum": {"users": 8000, "txs": 25000},
521-
"Arbitrum": {"users": 7234, "txs": 20678}
522-
}
523-
}
524-
}
525-
```
526-
527-
32. 🔒 **GET /api/userData/{type}/{protocolId}**
528-
Purpose: Historical user metrics
529-
Parameters:
530-
- type (path, required): "activeUsers" | "uniqueActiveUsers" | "dailyTxs" | "gasUsd"
531-
- protocolId (path, required): Protocol numeric ID
532-
Response:
533-
```json
534-
[{
535-
"date": 1640995200,
536-
"value": 15234,
537-
"chain": "Ethereum"
538-
}]
539-
```
540-
541-
===============================================================================
542-
SECTION 5: VOLUME METRICS (DEXs, Derivatives, Options)
502+
SECTION 4: VOLUME METRICS (DEXs, Derivatives, Options)
543503
===============================================================================
544504

545505
Base URL: `https://pro-api.llama.fi`
@@ -700,7 +660,7 @@ Base URL: `https://pro-api.llama.fi`
700660
```
701661

702662
===============================================================================
703-
SECTION 6: FEES & REVENUE
663+
SECTION 5: FEES & REVENUE
704664
===============================================================================
705665

706666
Base URL: `https://pro-api.llama.fi`
@@ -803,7 +763,7 @@ Base URL: `https://pro-api.llama.fi`
803763
```
804764

805765
===============================================================================
806-
SECTION 7: UNLOCKS & EMISSIONS
766+
SECTION 6: UNLOCKS & EMISSIONS
807767
===============================================================================
808768

809769
Base URL: `https://pro-api.llama.fi`
@@ -945,7 +905,7 @@ Base URL: `https://pro-api.llama.fi`
945905
```
946906

947907
===============================================================================
948-
SECTION 8: ECOSYSTEM DATA
908+
SECTION 7: ECOSYSTEM DATA
949909
===============================================================================
950910

951911
Base URL: `https://pro-api.llama.fi`
@@ -1184,7 +1144,7 @@ Base URL: `https://pro-api.llama.fi`
11841144
```
11851145

11861146
===============================================================================
1187-
SECTION 9: ETF DATA
1147+
SECTION 8: ETF DATA
11881148
===============================================================================
11891149

11901150
Base URL: `https://pro-api.llama.fi`
@@ -1283,7 +1243,7 @@ Base URL: `https://pro-api.llama.fi`
12831243
```
12841244

12851245
===============================================================================
1286-
SECTION 10: BRIDGES
1246+
SECTION 9: BRIDGES
12871247
===============================================================================
12881248

12891249
Base URL: `https://bridges.llama.fi`
@@ -1635,7 +1595,7 @@ Base URL: `https://bridges.llama.fi`
16351595
```
16361596

16371597
===============================================================================
1638-
SECTION 11: DIGITAL ASSET TREASURY (DAT)
1598+
SECTION 10: DIGITAL ASSET TREASURY (DAT)
16391599
===============================================================================
16401600

16411601
Base URL: `https://pro-api.llama.fi`
@@ -1805,7 +1765,7 @@ Base URL: `https://pro-api.llama.fi`
18051765
- ohlcv: [timestamp, open, high, low, close, volume]
18061766

18071767
===============================================================================
1808-
SECTION 12: ACCOUNT MANAGEMENT
1768+
SECTION 11: ACCOUNT MANAGEMENT
18091769
===============================================================================
18101770

18111771
66. 🔒 **GET /usage/APIKEY**

0 commit comments

Comments
 (0)