{"name":"users-by-username","description":"Resolves an X handle to a public profile: id, username, display name, bio, verification fields, created_at, followers, following, tweet count, and listed count. Same read-only X API v2 user-by-username backend as x-username. Use it as an X users by username API, Twitter user profile lookup, or handle to public profile API.","price":"$0.005","method":"POST","input_schema":{"properties":{"username":{"type":"string","description":"X/Twitter handle, with or without @, e.g. 'bankrbot'."}},"required":["username"]},"input_example":{"username":"bankrbot"},"output_example":{"mode":"user","user":{"id":"99","username":"bankrbot","name":"Bankr","public_metrics":{"followers_count":1234}},"source":"X API v2 user lookup"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}