Skip to content

A Rust library for interacting with DataForSEO APIs. Provides seamless and efficient integration for keyword data, SERP results, competitor analysis, and other SEO metrics.

Notifications You must be signed in to change notification settings

uiuifree/rust-data-for-seo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-data-for-seo

rust-data-for-seo is a client library designed to make interacting with the DataForSEO API simple and efficient in Rust. This library helps you access search engine and market data while leveraging Rust's speed and safety features.

SerpAPI

Google

  • Organic
  • Maps
  • LocalFinder
  • News
  • Events
  • Images
  • SearchByImage
  • Jobs
  • Autocomplete
  • DatasetInfo
  • AdsAdvertises
  • AdsSearch

Example

fn client() -> DataForSeoClient {
    dotenv::dotenv().ok();
    let id = env::var("ID").unwrap();
    let pass = env::var("PASSWORD").unwrap();

    DataForSeoClient::new(id, pass)
}



#[tokio::test]
async fn post() {
    let client = client();
    let mut request = KeywordsDataApiGoogleAdsSearchVolumeTaskPostRequest::new("ja".to_string(), 20636);
    request.keywords = vec!["SEO".to_string()];
    request.search_partners = Some(true);
    let res = client
        .keywords_data()
        .google_ads()
        .search_volume_task_post(vec![request])
        .await;
    println!("{:?}", res);
}

TODO Bing YouTube Yahoo Baidu Naver Seznam

Keyword Data API

Google

  • Search Volume
  • Keywords For Site
  • Keywords For Keywords
  • Ad Traffic By Keywords

Domain Analytics API

TODO

DataForSEO Labs API

TODO

Backlinks API

TODO

OnPage API

  • ID List
  • Errors
  • Force Stop
  • Filters and Thresholds
  • Task Post
  • Tasks Ready
  • Summary
  • Pages
  • Pages By Resource
  • Resource
  • Duplicate Tags
  • Duplicate Content
  • Links
  • Redirect Chains
  • Non-Indexable
  • Waterfall
  • Keyword Density
  • Microdata
  • Raw HTML
  • Page Screenshot
  • Content Parsing
  • Content Parsing(Live)
  • Instant Pages(Live)
  • Lighthouse

TODO Content Analysis API Content Generation API Merchant API App Data API Business Data API

About

A Rust library for interacting with DataForSEO APIs. Provides seamless and efficient integration for keyword data, SERP results, competitor analysis, and other SEO metrics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages