Skip to main content
Rodz API
FR EN
v2.0.0

How-to / Integrate the API / API REST

How do you enrich a company through the Rodz API: profile, tech stack, traffic, financials and SIREN?

Updated on · View on the site · Markdown version

In short

Call GET /api/v1/enrichment/firmographic with a domain, a name or a LinkedIn URL to get a company profile, then tech-stack, website-traffic, financial or french-sirene for its tech stack, traffic, financials and SIREN. company-search finds the company, and reverse-email finds a person from their email. The routes with a documented cost take 0.5 credit, financial takes 1 credit, charged only when a result comes back.

Key points

  • company-search, tech-stack, website-traffic, homepage-content and reverse-email cost 0.5 credit; financial costs 1 credit. Nothing is charged when the lookup returns nothing.
  • tech-stack, website-traffic, financial, homepage-content and reverse-email answer within about 15 seconds; a slower lookup gets a 429 with TOO_MANY_CONCURRENT_REQUESTS and a Retry-After header, and nothing is charged.
  • firmographic waits for a free place and retries for about 20 seconds before answering 429; the general limit is 9,000 requests per minute per API key.
  • company-search requires at least one filter among keywords, location, geoId, companySize and industryId; page alone is not enough.
Cost
0.5 credit per result, 1 credit for financial data (cost of firmographic and french-sirene not specified)
Setup time
25 min

Before you start

  • A Rodz API key, created under Integrations → API in the dashboard (format USR_...), stored in the RODZ_API_KEY variable.
  • Credits on the account: an insufficient balance returns a 402 response.
  • At least one identifier for the company: its domain (for example example.com), its name, the URL of its LinkedIn page or, for France, its SIREN or SIRET. To look up a person, their email.
  • Python 3 with the requests library (pip install requests), or just curl.

Steps

  1. Step 1. Find the company with company-search

    GET /api/v1/enrichment/company-search finds a company by its name, by what it does or by filters. You need at least one of keywords, location, geoId, companySize and industryId: with none of them the API answers 400, and page alone is not enough.

    keywords is matched against the company page's name, tagline and description: a phrase such as sales engagement platform finds companies that describe themselves that way. companySize takes comma-separated bands (1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+). geoId overrides location. industryId takes one or more comma-separated LinkedIn industry IDs, for example 4.

    The response gives data.elements: each element carries name, linkedinUrl, universalName, industry, location, followers and logoUrl, and each of these fields can be null. data.pagination gives totalPages, totalElements, pageNumber and pageSize: increment page up to totalPages. The call costs 0.5 credit, charged only if at least one company is returned. Keep linkedinUrl: you can pass it as companyLinkedinUrl to the other routes.

    Search for a company

    curl -G "https://api.rodz.io/api/v1/enrichment/company-search" \
      -H "Authorization: Bearer $RODZ_API_KEY" \
      --data-urlencode "keywords=Acme" \
      --data-urlencode "location=France" \
      --data-urlencode "companySize=51-200"
  2. Step 2. Read its profile with firmographic

    GET /api/v1/enrichment/firmographic accepts domain, companyName or companyLinkedinUrl (at least one). The response is synchronous and sits in data.company.firmographics.

    You read in particular name, website, linkedinUrl, industries, specialties (a comma-separated list), companySize (an employee-count band), employeesNumLinkedin, type, founded, headquarters, countryCode, HQcity, HQpostalCode, aboutUs, slogan, imageUrl and locations (every known office). data is null if the company is not found. data.company.companySearch echoes the resolved value.

    When lookups are busy, the call waits for a free place and retries for about 20 seconds, so an answer can arrive later than usual.

    A profile by domain

    curl -G "https://api.rodz.io/api/v1/enrichment/firmographic" \
      -H "Authorization: Bearer $RODZ_API_KEY" \
      --data-urlencode "domain=example.com"
  3. Step 3. Read its tech stack and traffic

    GET /api/v1/enrichment/tech-stack and GET /api/v1/enrichment/website-traffic take domain or companyLinkedinUrl. Each costs 0.5 credit, charged only when data comes back. With no result, the response carries data: null with reason: not_found and costs nothing.

    tech-stack returns data.techUsedList: the technologies detected on the site, grouped by category. The keys are category names (for example Frameworks or Analytics and Tracking), and each one carries a values list. Categories vary from one site to another: iterate the keys instead of assuming a fixed set.

    website-traffic returns data.siteOverview. engagements gives visits, bounceRate (a fraction between 0 and 1), pagePerVisit, timeOnSite (in seconds), month and year. These values are numeric strings: convert them. trafficSources gives each channel's share between 0 and 1 (Direct, Referrals, SearchOrganic, SearchPaid, SocialOrganic, SocialPaid, Mail, DisplayAds, GenAi, Affiliate). topKeywords lists keywords with name, volume, cpc and estimatedValue. globalRank, countryRank and categoryRank give the rankings, and estimatedMonthlyVisits the monthly visits, keyed by ISO date.

    stack_and_traffic.py

    import os
    
    import requests
    
    BASE = "https://api.rodz.io/api/v1/enrichment"
    HEADERS = {"Authorization": f"Bearer {os.environ['RODZ_API_KEY']}"}
    
    stack = requests.get(
        f"{BASE}/tech-stack",
        headers=HEADERS,
        params={"domain": "example.com"},
        timeout=30,
    )
    stack.raise_for_status()
    techs = stack.json()["data"]
    if techs:
        for category, item in techs["techUsedList"].items():
            print(category, ", ".join(item["values"]))
    
    traffic = requests.get(
        f"{BASE}/website-traffic",
        headers=HEADERS,
        params={"domain": "example.com"},
        timeout=30,
    )
    traffic.raise_for_status()
    data = traffic.json()["data"]
    if data and data["siteOverview"]:
        overview = data["siteOverview"]
        visits = int(overview["engagements"]["visits"])
        bounce_rate = float(overview["engagements"]["bounceRate"])
        organic = overview["trafficSources"]["SearchOrganic"]
        print(visits, bounce_rate, organic)
  4. Step 4. Get the financials with financial

    GET /api/v1/enrichment/financial accepts domain, companyName, companyLinkedinUrl, siren (9 digits) or siret (14 digits), at least one. It costs 1 credit, charged only when a company record is returned. A record whose funding history is empty is a real answer (no funding raised) and is charged. A company that cannot be found answers data: null with reason: not_found and costs nothing.

    The data sits in data.data. data.status is success, error or not_found: test it before reading the rest. You find company_name, founded_on, operating_status (active or closed), num_employees_enum, headquarters_location, categories and founders. funding gives total_funding_amount_usd, num_funding_rounds, last_funding_type, latest_funding_date, num_investors and investors. ipo gives ipo_status (private, public or delisted) and stock_symbol. acquisitions gives acquisition_status (no_acquisitions, made_acquisitions or was_acquired) and num_acquisitions.

    A company's financials

    curl -G "https://api.rodz.io/api/v1/enrichment/financial" \
      -H "Authorization: Bearer $RODZ_API_KEY" \
      --data-urlencode "domain=example.com"
  5. Step 5. Find its SIREN with french-sirene

    GET /api/v1/enrichment/french-sirene queries the official SIRENE registry for a French company. It accepts siren, siret, domain, companyName or companyLinkedinUrl, at least one. With a name or a domain you therefore get its SIREN in data.frenchCompany.siren. data is null if the company is not found.

    The record follows the official schema and each field is null when the registry has no value. You read nom_complet, nom_raison_sociale, date_creation, date_fermeture, etat_administratif (A for active, C for closed), nature_juridique (the INSEE legal-form code), activite_principale (the NAF code), categorie_entreprise (PME, ETI or GE), tranche_effectif_salarie (the INSEE employee-range code), the head office in siege (siret, adresse, code_postal, libelle_commune), the officers in dirigeants and flags in complements. finances holds the published accounts, keyed by year, and is null when nothing is published: most small companies publish nothing.

    find_siren.py

    import os
    
    import requests
    
    BASE = "https://api.rodz.io/api/v1/enrichment"
    HEADERS = {"Authorization": f"Bearer {os.environ['RODZ_API_KEY']}"}
    
    response = requests.get(
        f"{BASE}/french-sirene",
        headers=HEADERS,
        params={"companyName": "Acme"},
        timeout=30,
    )
    response.raise_for_status()
    data = response.json()["data"]
    if data:
        company = data["frenchCompany"]
        print(company["siren"], company["nom_complet"], company["etat_administratif"])
  6. Step 6. Read a page with homepage-content

    GET /api/v1/enrichment/homepage-content reads a public page and renders it as markdown. domain is required: it accepts a domain, a path or a full URL (example.com, example.com/blog, https://example.com/page). companyLinkedinUrl is optional and improves context.

    The response gives data.websiteHomepage: markdown text that starts with a Title: line and a URL Source: line, then the body after Markdown Content: (headings, links and text preserved). data is null when the page cannot be accessed. The call costs 0.5 credit, charged only when content comes back.

    Read a page

    curl -G "https://api.rodz.io/api/v1/enrichment/homepage-content" \
      -H "Authorization: Bearer $RODZ_API_KEY" \
      --data-urlencode "domain=example.com"
  7. Step 7. Look up a person from an email with reverse-email

    GET /api/v1/enrichment/reverse-email identifies the person behind an address. email is required; firstName, lastName or fullName are optional and improve the accuracy of the match.

    The response gives the person's LinkedIn profile in data.person, or null if no match is found. You read in particular name, linkedInUrl (with a capital I), headline, activeCompany, location, skillsList, currentCompanyDetail and pastCompaniesDetails (each position carries companyName, jobTitle, startTime and endTime), as well as education. A match costs 0.5 credit.

    Look up a person

    curl -G "https://api.rodz.io/api/v1/enrichment/reverse-email" \
      -H "Authorization: Bearer $RODZ_API_KEY" \
      --data-urlencode "email=jane.doe@example.com"
  8. Step 8. Handle refusals: parameters, credits and limits

    • 400 with MISSING_PARAMETERS: no search parameter was supplied. Add at least one.
    • 402 with NO_MORE_CREDITS: the balance does not cover the call. Nothing was looked up or charged. Top up the account and retry.
    • 422: a parameter is invalid or missing (for example domain for homepage-content, email for reverse-email, or a page that is not an integer).
    • 429 with TOO_MANY_CONCURRENT_REQUESTS: too many lookups are in progress. Nothing is charged. Wait the seconds given by the Retry-After header, then send the same request again.
    • 429 above 9,000 requests in the minute for this key: Retry-After gives the seconds left until the next minute (1 to 60), and these refused requests are not charged.

Example payload

Response of GET /api/v1/enrichment/firmographic when the company is found

{
  "data": {
    "company": {
      "companySearch": "example.com",
      "firmographics": {
        "name": "Acme",
        "website": "example.com",
        "linkedinUrl": "https://www.linkedin.com/company/acme/",
        "industries": "Software Development",
        "specialties": "Analytics, Reporting",
        "companySize": "51-200",
        "employeesNumLinkedin": "120",
        "type": "Privately Held",
        "founded": "2018",
        "headquarters": "Paris Île-de-France France",
        "countryCode": "FR",
        "HQcity": "Paris",
        "HQcountry": "France",
        "HQstate": "Île-de-France",
        "HQpostalCode": "75001",
        "aboutUs": "Acme is an example company.",
        "slogan": "An example tagline",
        "socialFollowers": 1000,
        "imageUrl": "https://example.com/logo.png",
        "locations": [
          {
            "City": "Paris",
            "PostalCode": "75001",
            "Description": "Headquarters",
            "Headquarter": true
          }
        ],
        "numberOfLocation": 1
      }
    }
  },
  "requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Enriching a company answers a narrower question than a signal does: “I already have its name or its domain, what can I learn about it?”. The eight routes in this guide are synchronous GET calls: they share the API key and the account’s credit balance.

Frequently asked questions

Which route should I pick, given what I have on the company?

With only a name or a description, start from company-search, which returns its linkedinUrl. With a domain, a name or a LinkedIn URL, firmographic gives the profile. tech-stack, website-traffic and financial also take a domain or a LinkedIn URL, and french-sirene and financial additionally accept a SIREN or a SIRET.

What happens when nothing is found, and is it charged?

For tech-stack, website-traffic, financial and homepage-content, the response carries data: null with reason: not_found and costs nothing. company-search does not charge an empty page of results, and reverse-email charges only matches. A financial record with an empty funding history is a real answer: it is charged.

How much do firmographic and french-sirene cost?

The API reference gives no cost for these two routes, so this guide states none.

Why are the traffic figures strings?

In data.siteOverview.engagements, visits, bounceRate, pagePerVisit, timeOnSite, month and year are numeric strings: convert them with int() or float(). bounceRate is a fraction between 0 and 1, and timeOnSite is in seconds. The shares in trafficSources are numbers between 0 and 1.

How do I page through all company-search results?

Read data.pagination.totalPages in the first response, then call again with page=2, page=3 and so on up to that value. Without keywords, you can build an account list with companySize, industryId and geoId.

How do I match a company I found to a company in the French registry?

Pass its name, its domain or its linkedinUrl (as companyLinkedinUrl) to french-sirene, then read data.frenchCompany.siren. If you already have a SIREN or a SIRET, pass it directly.