Crawlora
ProductPlatformsUse CasesDocsPricingCompareContact
Sign inTry Playground Console
Crawlora

Structured public web data APIs for search, maps, geocoding, streaming, travel, real estate, marketplaces, apps, social, audio, crypto, finance, and AI workflows with managed execution and credit-based usage.

Product

Web Scraping APIFeaturesPlatformsTravel APIsReal Estate APIsPricing

Platforms

Google SearchGoogle MapsGoogle TrendsAmazonZillowTripAdvisorShopifyAll platforms

Developers

DocsGetting StartedAPI ExamplesPlaygroundSDKsChangelogBlogGitHub

Use cases

SERP MonitoringGoogle Maps LeadsProperty Market IntelligenceAmazon Product MonitoringCrypto Market ResearchAI Agent Web DataAll use cases

Legal

ContactTermsPrivacy
Product
Web Scraping APIFeaturesPlatformsTravel APIsReal Estate APIsPricing
Platforms
Google SearchGoogle MapsGoogle TrendsAmazonZillowTripAdvisorShopifyAll platforms
Developers
DocsGetting StartedAPI ExamplesPlaygroundSDKsChangelogBlogGitHub
Use cases
SERP MonitoringGoogle Maps LeadsProperty Market IntelligenceAmazon Product MonitoringCrypto Market ResearchAI Agent Web DataAll use cases
Legal
ContactTermsPrivacy
© 2026 Crawlora. All rights reserved.·Built by Tony Wang
System statusCrawlora API status
  1. Home
  2. /SDKs
  3. /Crawlora Ruby SDK

Developer guides

Crawlora Ruby SDK

Use the official RubyGems beta gem from Rails apps, scripts, and background jobs. Typed, batteries-included grouped helpers and dynamic operation calls.

Official beta SDKRubyGemsRuby 3.0+crawlora gemRetries
Open GitHub repo Try Playground

Verified HTTP pattern

POST /google/search

Normalized JSON

Request

POST https://api.crawlora.net/api/v1/google/search
x-api-key: $CRAWLORA_API_KEY
Content-Type: application/json

{
  "country": "us",
  "keyword": "best CRM software",
  "language": "en",
  "limit": 10,
  "page": 1
}

Base URL

https://api.crawlora.net/api/v1

Auth header

x-api-key

Example endpoint

POST /google/search

The Ruby SDK is published to RubyGems as the crawlora gem and developed at https://github.com/Crawlora-org/crawlora-ruby-sdk. The current promoted beta is a prerelease (1.5.0.pre.sdk.3); install it with the --pre flag or pin it in your Gemfile. Requires Ruby 3.0+.

Developer workflow

Install the gem

RubyGems treats the -sdk. segment as a prerelease, so install with the --pre flag or pin the prerelease version in your Gemfile.

Gemfile / gem install · ruby

# Gemfile
gem "crawlora", "1.5.0.pre.sdk.3"

# or install directly (prerelease)
gem install crawlora --pre

Developer workflow

Environment variable

.env · bash

export CRAWLORA_API_KEY="your_api_key_here"

Developer workflow

SDK request

Create a client, then call grouped endpoint helpers or the dynamic operation interface.

SDK client · ruby

require "crawlora"

# Reads CRAWLORA_API_KEY from the environment if api_key: is omitted.
client = Crawlora.client(api_key: ENV["CRAWLORA_API_KEY"])

result = client.bing.search(q: "coffee shops")
result["data"].each { |item| puts item["title"] }

client.close # release pooled keep-alive connections

Developer workflow

Error handling

The status codes below are common integration patterns. Endpoint detail pages list documented failure responses where available.

Status / codeMeaningHow to handle
400Invalid request or missing required input.Validate request bodies before calling Crawlora and surface useful messages to users.
401Missing or invalid API key.Check the `x-api-key` header and rotate the key from the console if needed.
402/403Plan, permission, or billing issue where applicable.Check plan access, credit state, and endpoint availability.
429Rate limit exceeded.Back off with jitter and reduce concurrency.
5xxTemporary execution or upstream failure.Retry safe jobs with exponential backoff and keep the failure visible.

Developer workflow

Production checklist

  • Store the key in an environment variable.
  • Reuse the client and call close() when done.
  • Handle 429 responses with the built-in retry and backoff.
  • Bound concurrency in background jobs.
  • Log response context where available.
  • Sanitize user input.
  • Keep API keys out of logs.

Responsible public web data workflows

Use Crawlora for structured public web data workflows. Customers are responsible for compliance with applicable laws, third-party rights, platform rules, and Crawlora terms. Keep API keys server-side, validate inputs, and avoid collecting or storing unnecessary sensitive data.

Read Crawlora terms

Developer workflow

Related developer links

Use these pages to move between endpoint discovery, examples, pricing, and responsible-use guidance.

Ruby SDK repo

Crawlora GitHub org

Docs

Playground

Java guide

PHP guide

Python guide

cURL examples

Developer workflow

FAQ

Common questions for this Crawlora developer integration path.

Is there an official Crawlora Ruby SDK?

Yes. The official Ruby beta gem is published to RubyGems as crawlora and developed at https://github.com/Crawlora-org/crawlora-ruby-sdk. Install it with gem install crawlora --pre.

Which Ruby version is required?

Ruby 3.0 or newer.

Why is the gem a prerelease version?

RubyGems treats the -sdk. segment as a prerelease, so the current beta resolves as a .pre.sdk version. Use the --pre flag or pin the prerelease string in your Gemfile.

How do I authenticate?

Pass api_key: to Crawlora.client, or omit it to read CRAWLORA_API_KEY from the environment. JWT authorization is also supported.

Does it work with Rails and background jobs?

Yes. Use it in controllers, services, or workers; the client supports a block form that auto-closes pooled connections.

Where do I find endpoint schemas?

Open the endpoint detail page from the docs catalog to inspect request parameters, examples, and schema references.

Install the Ruby SDK

Install the crawlora gem with --pre, set CRAWLORA_API_KEY, then inspect endpoint docs for platform-specific schemas.

Open GitHub repoBrowse APIs