@@ -6,79 +6,79 @@ def __init__(self, client):
66 self ._client = client
77
88 def search (self , body : dict ):
9- """Search projects, organizations , and people by keyword — $0.002 /call"""
9+ """Search projects, VCs , and people by keyword. Body: {query: string, precise_x_search?: bool}. Default query: Bitcoin — $0.001 /call"""
1010 return self ._client ._post ("/api/v1/crypto/rootdata/search" , body )
1111
1212 def project (self , body : dict ):
13- """Fetch detailed project info — funding rounds, team, tags. Required: project_id (int) OR contract_address (string) — $0.005 /call"""
13+ """Get project details. Body: {project_id: int} OR {contract_address: string}. Optional: include_team, include_investors (bool). Find IDs via /search or /id-map — $0.001 /call"""
1414 return self ._client ._post ("/api/v1/crypto/rootdata/project" , body )
1515
1616 def org (self , body : dict ):
17- """Fetch organization / VC details. Required: org_id ( int) — $0.005 /call"""
17+ """Get VC/org details. Body: { org_id: int}. Optional: include_team, include_investments (bool). Find IDs via /search or /id-map — $0.001 /call"""
1818 return self ._client ._post ("/api/v1/crypto/rootdata/org" , body )
1919
2020 def people (self , body : dict ):
21- """Get individual person profile — career history, investments. Required: people_id ( int) — $0.005 /call"""
21+ """Get person profile with X metrics. Body: { people_id: int}. Find IDs via /search or /id-map — $0.001 /call"""
2222 return self ._client ._post ("/api/v1/crypto/rootdata/people" , body )
2323
2424 def investors (self , body : dict ):
25- """Batch retrieve investor information. Optional : page, page_size — $0.008 /call"""
25+ """Batch list investors. Body: {page?: int, page_size?: int (max 100)}. Defaults : page=1 , page_size=10 — $0.001 /call"""
2626 return self ._client ._post ("/api/v1/crypto/rootdata/investors" , body )
2727
2828 def funding (self , body : dict ):
29- """Batch fetch funding round information . Optional: page, page_size — $0.008 /call"""
29+ """Batch list funding rounds . Optional filters: start_time, end_time (unix sec), min_amount, max_amount (USD), project_id (int), page, page_size — $0.001 /call"""
3030 return self ._client ._post ("/api/v1/crypto/rootdata/funding" , body )
3131
3232 def changes (self , body : dict ):
33- """Sync data updates within a time range. Required: start_time (unix timestamp, seconds). Optional: end_time — $0.005 /call"""
33+ """Sync recent data changes. Body: {begin_time: int (unix seconds)} . Optional: end_time. Note: param is begin_time (not start_time) — $0.001 /call"""
3434 return self ._client ._post ("/api/v1/crypto/rootdata/changes" , body )
3535
3636 def hot (self , body : dict ):
37- """Top 100 trending crypto projects. Required: days (1= 24h, 7=7d) — $0.010 /call"""
37+ """Top 100 trending projects. Body: { days: int}. Values: 1 = 24h ranking , 7 = 7-day ranking — $0.001 /call"""
3838 return self ._client ._post ("/api/v1/crypto/rootdata/hot" , body )
3939
4040 def hot_x (self , body : dict ):
41- """Trending crypto projects on X (Twitter). Required: heat, influence, followers ( bool filters) — $0.010 /call"""
41+ """Trending crypto projects on X. Body: { heat: bool , influence: bool , followers: bool}. Set at least one to true — $0.001 /call"""
4242 return self ._client ._post ("/api/v1/crypto/rootdata/hot-x" , body )
4343
4444 def kol (self , body : dict ):
45- """Leading crypto figures on X (Twitter). Required: rank_type ( heat| influence) . Optional: page, page_size — $0.010 /call"""
45+ """Crypto KOL rankings on X. Body: { rank_type: ' heat' or ' influence'} . Optional: page, page_size — $0.001 /call"""
4646 return self ._client ._post ("/api/v1/crypto/rootdata/kol" , body )
4747
4848 def job_changes (self , body : dict ):
49- """Crypto industry personnel movement. Required: recent_joinees ( bool) , recent_resignations ( bool) — $0.010 /call"""
49+ """Crypto personnel movements. Body: { recent_joinees: bool, recent_resignations: bool}. Set at least one to true — $0.001 /call"""
5050 return self ._client ._post ("/api/v1/crypto/rootdata/job-changes" , body )
5151
5252 def new_tokens (self , body : dict ):
53- """Recently launched token projects. Optional: page, page_size — $0.010 /call"""
53+ """Recently launched token projects. Optional: page, page_size — $0.001 /call"""
5454 return self ._client ._post ("/api/v1/crypto/rootdata/new-tokens" , body )
5555
5656 def id_map (self , body : dict ):
57- """Retrieve ID list. Required: type ( 1=projects, 2=organizations , 3=people) — $0.020 /call"""
57+ """Get all entity IDs. Body: { type: int}. Values: 1=projects, 2=VCs , 3=people — $0.001 /call"""
5858 return self ._client ._post ("/api/v1/crypto/rootdata/id-map" , body )
5959
6060 def ecosystem_map (self , body : dict ):
61- """Retrieve full ecosystem directory . No required parameters. — $0.020 /call"""
61+ """Get all ecosystem IDs and project counts . No parameters required — $0.001 /call"""
6262 return self ._client ._post ("/api/v1/crypto/rootdata/ecosystem-map" , body )
6363
6464 def tag_map (self , body : dict ):
65- """Access full tag / category mapping . No required parameters. — $0.020 /call"""
65+ """Get all tag/ category IDs . No parameters required — $0.001 /call"""
6666 return self ._client ._post ("/api/v1/crypto/rootdata/tag-map" , body )
6767
6868 def projects_by_ecosystem (self , body : dict ):
69- """Query projects by ecosystem IDs. Required: ecosystem_ids ( string, comma-separated). Optional: page, page_size — $0.015 /call"""
69+ """Projects by ecosystem. Body: { ecosystem_ids: string ( comma-separated)}. Get IDs from /ecosystem-map first — $0.001 /call"""
7070 return self ._client ._post ("/api/v1/crypto/rootdata/projects-by-ecosystem" , body )
7171
7272 def projects_by_tag (self , body : dict ):
73- """Query projects by tag IDs. Required: tag_ids ( string, comma-separated). Optional: page, page_size — $0.015 /call"""
73+ """Projects by tag. Body: { tag_ids: string ( comma-separated)}. Get IDs from /tag-map first — $0.001 /call"""
7474 return self ._client ._post ("/api/v1/crypto/rootdata/projects-by-tag" , body )
7575
7676 def twitter_map (self , body : dict ):
77- """Bulk export X / Twitter data. Required: type ( 1=projects, 2=organizations , 3=people) — $0.030 /call"""
77+ """Bulk export X/ Twitter data. Body: { type: int}. Values: 1=projects, 2=VCs , 3=people — $0.001 /call"""
7878 return self ._client ._post ("/api/v1/crypto/rootdata/twitter-map" , body )
7979
8080 def credits (self , body : dict ):
81- """Check remaining API credits balance. No required parameters. — $0.001/call"""
81+ """Check API credits balance. No parameters required — $0.001/call"""
8282 return self ._client ._post ("/api/v1/crypto/rootdata/credits" , body )
8383
8484
0 commit comments