Vibe Coding Quickstart
Ethos API Project Setup Instructions
Section titled “Ethos API Project Setup Instructions”You are setting up a new project that integrates with the Ethos Network API.
1. Environment Setup
Section titled “1. Environment Setup”Install Deno: curl -fsSL https://deno.land/install.sh | sh
Create deno.json with tasks for dev, check, and any cron jobs needed.
Deno documentation: https://docs.deno.com/
2. Project Structure
Section titled “2. Project Structure”Create:
src/ ethos-client.ts # API wrapper functions main.ts # Entry point .env.example # Document required env vars deno.json3. Ethos API Basics
Section titled “3. Ethos API Basics”Base URL: https://api.ethos.network/api/v2
Required header: X-Ethos-Client (identifies your app)
All requests should include headers: { "X-Ethos-Client": "your-app-name" }
Documentation:
- https://developers.ethos.network - Full API docs
- https://api.ethos.network/docs/llms.txt - LLM summary: endpoint groups with descriptions
- https://api.ethos.network/docs/llms-full.txt - LLM detailed reference: every endpoint with parameters and response shapes
- https://api.ethos.network/docs/openapi.json - OpenAPI v3 spec
4. User Key Formats
Section titled “4. User Key Formats”When looking up users, these formats work:
address:0x...- Ethereum addressservice:x.com:<userId>- Twitter by IDservice:x.com:username:<handle>- Twitter by usernameservice:discord:<userId>- Discord
To cite a person, link their profile page: https://app.ethos.network/profile/x/<handle> or https://app.ethos.network/profile/<address>
5. Example Endpoints
Section titled “5. Example Endpoints”- GET
https://api.ethos.network/api/v2/score/address?address=0x...- Get credibility score - GET
https://api.ethos.network/api/v2/user/by/address/{address}- Get user profile
See full endpoint list: https://developers.ethos.network
6. Authentication
Section titled “6. Authentication”Most read endpoints are public (no auth). For authenticated user actions and login integration: https://developers.ethos.network/api-documentation/log-in-with-ethos
7. Reference Examples
Section titled “7. Reference Examples”Study these repos for patterns:
- https://github.com/trust-ethos/ethos-twitter-agent 
- https://github.com/trust-ethos/ethos-spiderchart 
- https://github.com/trust-ethos/log-in-with-ethos 
- https://github.com/trust-ethos/ethos-anonymous-reviews 
- https://github.com/trust-ethos/zora-ethos-sniper 
- https://github.com/trust-ethos/ethosUSD-tempo