Rust client for the Score API — search 250M+ company records.
Add to your Cargo.toml:
[dependencies]
score-api = "0.1"use score_api::ScoreClient;
fn main() {
let client = ScoreClient::new();
// Search companies
let results = client.search("Ferrero", Some("IT"), Some(5)).unwrap();
for company in &results.results {
println!("{} — Score: {:?}", company.name.as_deref().unwrap_or("?"), company.score);
}
// Look up by VAT
if let Some(company) = client.lookup("IT02727330014").unwrap() {
println!("Found: {:?}", company.name);
}
// Stats
let stats = client.stats().unwrap();
println!("Stats: {}", stats);
}- 250M+ companies, 50+ countries
- Revenue, employees, credit score, NACE, legal form, VAT, contacts
- Free tier: 50 lookups/month, no signup
MIT