How to Get the Funding Raised in PHP

October 27, 2026
How to Get the Funding Raised in PHP

You need to display “funding raised” for a company during signup enrichment, CRM updates, or a back-office audit in a PHP app. By the end of this guide, you’ll call a single API to look up a domain, read its total funding raised (if available), and wire the result into your pipeline with caching, batching, and fallbacks for unknown domains.

Why Klazify fits funding lookups inside a PHP workflow

If your goal is to enrich domains with company funding data directly in a PHP service, Klazify’s domain intelligence API gives you the company object in the same response you might already be using for categorization or brand safety. That means a single request can return the fields your enrichment needs—name, location, employeesRange, revenue (as a range), raised, and tags—without managing multiple data providers.

Illustration: How to Get the Funding Raised in PHP
  • Accurate Website Categorization Using AI: Funding enrichment often pairs with brand safety, lead scoring, and market segmentation. Klazify analyzes actual site content, letting you confirm that the domain fits your target industry before you trust the enrichment.
  • Global Coverage: Teams frequently enrich leads across regions. Klazify’s multilingual analysis helps you standardize categories and business tags from many locales into one flow.
  • Real-Time Classification: New sites and updated content are reflected quickly, allowing you to recategorize and refresh enrichment (including the raised field) as domains evolve.
  • Industry-Level Categories: IAB taxonomy in the response allows reliable downstream mapping in ad tech and analytics pipelines, so you can couple funding with precise industry segmentation.
  • Simple API Integration: A straightforward REST interface that works smoothly with PHP request libraries or a lightweight service calling Klazify from a worker or queue.
  • Superior Compliance and Filtering: If your enrichment powers risk checks or approval queues, category-level signals can be used alongside the raised field to drive gating logic.

Get started quickly and build your own integration at klazify.com, or create a free account with a 7-day trial on the Starter plan ($39.99/mo). Failed or unreachable calls are not billed.

What you’ll build: fetch “raised” from a domain and use it in your pipeline

We’ll call the company data endpoint with a URL or domain, then extract:

  • name, city, stateCode, countryCode
  • employeesRange
  • revenue (a range, not an exact figure)
  • raised (total funding raised, when available)
  • tags (business tags inferred from the site)

With these, you can enrich your PHP database, prioritize accounts by funding tier, gate self-serve plan upgrades, and add review workflows for high- or low-signal companies.

Endpoint for company funding (raised) from a domain

Use the company data endpoint to retrieve funding-related fields from a URL or domain. This is a JSON POST with a Bearer token.

POST https://www.klazify.com/api/domain_company
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{"url":"https://cbsnews.com"}

Notes:

  • Use a fully qualified URL or just the domain. Klazify normalizes it internally.
  • If the company’s funding is not known, the raised field may be null. Build a fallback in your pipeline.
  • You can safely retry transient failures. Failed or unreachable calls are not billed.

Complete curl request you can copy

curl -X POST "https://www.klazify.com/api/domain_company" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://cbsnews.com"}'

Official response example and how to read it

The following is the official sample response format. It includes categorization data plus a company object where you’ll read the raised field (if present), alongside other enrichment fields.


{
    "domain": {
        "categories": [
            {
                "confidence": 0.92,
                "name": "/Computers & Electronics/Consumer Electronics",
                "IAB-632-596": "Consumer Electronics/Technology & Computing/Consumer Electronics"
            },
            {
                "confidence": 0.89,
                "name": "/Internet & Telecom/Mobile & Wireless/Mobile Phones"
            }
        ],
        "social_media": null,
        "logo_url": "https://klazify.s3.amazonaws.com/2110787991611585019600ed5fb1d1300.04730104.png"
    },
    "success": true,
    "objects": {
        "company": {
            "url": "https://www.apple.com/",
            "name": "Apple",
            "city": "Cupertino",
            "stateCode": "CA",
            "countryCode": "US",
            "employeesRange": "100K+",
            "revenue": 274515000000,
            "raised": null,
            "tags": [
                "E-commerce",
                "Consumer Electronics",
                "Mobile",
                "B2C"
            ],
            "tech": [
                "omniture_adobe_analytics",
                "atlassian_confluence",
                "successfactors",
                "apache_apex",
                "talend",
                "oracle_peoplesoft",
                "salesforce",
                "stripe",
                "dell_boomi_atomsphere",
                "gigya",
                "sage_50cloud",
                "quickbooks",
                "webmethods",
                "apache_tomcat",
                "alteryx",
                "tibco_rendezvous",
                "atlassian_jira",
                "..."
            ]
        }
    },
    "domain_registration_data": {
        "domain_age_date": "1987-02-19",
        "domain_age_days_ago": "13026",
        "domain_expiration_date": "2030-02-20",
        "domain_expiration_days_left": "123"
    },
    "similar_domains": [
        "bestbuy.com",
        "icloud.com",
        "microsoft.com",
        "macrumors.com",
        "google.com",
        "samsung.com",
        "twitter.com",
        "hp.com",
        "bhphotovideo.com",
        "dell.com"
    ]
}

How to use it:

  • objects.company.raised: total funding raised, when available. Use it for scoring, tiering, or gating logic. If null, keep your fallback.
  • objects.company.revenue: a revenue figure that represents a range (not an exact value). Use for sizing bands or prioritization.
  • objects.company.employeesRange: human-readable size band (e.g., 11–50, 51–200, 100K+).
  • objects.company.name and location (city, stateCode, countryCode): display, CRM enrichment, geo routing.
  • objects.company.tags: business tags useful for routing and search facets.
  • domain.categories[].name and the IAB mapping key: connect enrichment with contextual categories for analytics, ad safety, or additional filters.
  • domain.logo_url: optional UI element for admin consoles and reports.

End-to-end code sample (JavaScript) to read “raised”

The following Node.js example posts a URL to the company endpoint, reads the raised field, and shows simple fallbacks you can mirror in PHP.

import fetch from "node-fetch";

async function getCompanyFunding(url) {
  const resp = await fetch("https://www.klazify.com/api/domain_company", {
    method: "POST",
    headers: {
      "Authorization": "Bearer YOUR_API_KEY",
      "Content-Type": "application/json"
    },
    body: JSON.stringify({ url })
  });

  if (!resp.ok) {
    // Build a non-billable retry if wanted; unreachable calls are not billed.
    throw new Error(`HTTP ${resp.status}`);
  }

  const data = await resp.json();

  // Read from the documented fields
  const company = data?.objects?.company || {};
  const fundingRaised = company.raised;         // may be null
  const revenueRange = company.revenue;         // represents a range, not an exact figure
  const employeesRange = company.employeesRange;
  const name = company.name;
  const city = company.city;
  const stateCode = company.stateCode;
  const countryCode = company.countryCode;
  const tags = company.tags || [];

  return {
    name,
    location: { city, stateCode, countryCode },
    employeesRange,
    revenueRange,
    fundingRaised,
    tags
  };
}

// Example usage
getCompanyFunding("https://cbsnews.com")
  .then((res) => {
    console.log("Funding raised:", res.fundingRaised);
    console.log("Revenue (range):", res.revenueRange);
    console.log("Employees:", res.employeesRange);
    console.log("Tags:", res.tags);
  })
  .catch((err) => console.error(err));

To port this into PHP, call the same endpoint with a JSON body and Bearer token, then parse the JSON and read objects.company.raised alongside the other fields. Most PHP HTTP clients (e.g., Guzzle, cURL extension) can post a JSON payload with an Authorization header in a few lines.

Mapping the response to your funding logic

Common enrichment patterns

  • Signup enrichment: After a user enters a company email or domain, call Klazify to get raised, employeesRange, and revenue. Use these to pre-fill CRM fields and choose default plan tiers.
  • Lead scoring: Combine raised with IAB categories (from domain.categories) to boost weights for funded startups in your ICP industry.
  • Risk or review queue: If raised is null and the site categorization is low confidence for your ICP, route the domain to manual review.

Recommended field usage

Field Purpose Practical Use
objects.company.raised Funding amount Tiering, prioritization, gating upgrades
objects.company.revenue Revenue range Segmentation by ability to pay; cohort analysis
objects.company.employeesRange Company size band Seat limits, sales territory routing
objects.company.tags Business tags Filters, routing rules, list building
domain.categories + IAB mapping Contextual classification Brand safety, ad targeting, ICP validation
company location (city/stateCode/countryCode) Geographic context Regional routing, compliance checks, tax rules

Operational details that save time in production

Caching

  • Cache by normalized domain (e.g., example.com) to minimize repeat calls.
  • Set a refresh interval appropriate to your use case. Funding doesn’t change daily for most companies; many teams refresh on a multi-day or weekly cadence.
  • Invalidate sooner if your workflow detects major company changes (e.g., sudden traffic spikes or user-initiated requests to refresh enrichment).

Batching and concurrency

  • Batch domain lookups in worker jobs to keep your PHP web process lean. A queue plus a small Node.js or PHP worker is typical.
  • Use controlled concurrency to respect rate limits (check the Documentation for the latest guidance). Apply retry with jitter for transient errors.
  • Deduplicate requests within a batch to avoid repeated calls for the same domain.

Error handling and unknown domains

  • If the API returns success but raised is null, keep a fallback flow (e.g., hide the field in UI, or mark “Unknown” in CRM) and rely on other sizing signals.
  • For unreachable or failed requests, retries won’t incur billing for those failed calls. Implement exponential backoff and log failures with the original domain.
  • When a brand-new domain appears, cache the null-enriched result with a shorter TTL so you can retry later without hammering the endpoint.

Mapping categories to your taxonomy

  • Read domain.categories[].name and the IAB mapping key in the sample to anchor your internal taxonomy mapping.
  • Store both the raw IAB values and your mapped category names to allow ongoing reclassification without backfilling historical records.

Security and privacy

  • Store your Klazify API key outside your codebase (environment variables, secrets manager).
  • When you log request failures, avoid logging full tokens or PII.

Putting it into a PHP pipeline

Typical flow in a PHP backend:

  1. Normalize user-provided domain (extract from email or URL; convert to lowercase; strip query strings).
  2. Check the cache. If a fresh entry exists, use it; otherwise, enqueue a request to the Klazify company endpoint.
  3. On response, write objects.company fields into your enrichment table:
    • raised (nullable)
    • revenue (range)
    • employeesRange
    • name, city, stateCode, countryCode
    • tags
  4. Apply business rules:
    • If raised exceeds your attention threshold, flag for outreach.
    • If raised is null but revenue and employeesRange are high, treat as a strong prospect without funding data.
    • If categories indicate out-of-ICP, downrank regardless of raised.
  5. Expose results in your admin UI and analytics so the team can audit enrichment quality.

Quality assurance: verifying the funding field

For batch imports or CRM backfills, spot-check a small sample:

  • Confirm that objects.company.name matches the known brand for the domain you queried.
  • Verify that categories align with the expected industry; if they don’t, adjust your mapping or filters.
  • Track how often raised is null and decide on a business-default display (e.g., “—” in UI, or a nullable column in the database).

Cost, trial, and documentation links

The Starter plan is $39.99/mo and includes a 7-day trial. Failed or unreachable calls are not billed. You can start for free here: Register

Read the full reference and integration details: Documentation and MCP. You can also explore klazify.com for product overviews and updates.

FAQ

Does the API always return a funding value?
No. If funding is not known for a domain, objects.company.raised can be null. Implement a fallback and rely on other fields like revenue and employeesRange.

Can I call the same endpoint for both categorization and funding?
Yes. The same response structure provides categories under domain and company enrichment under objects.company, including raised, employeesRange, revenue, and tags.

How should I handle rate limits and retries?
Use controlled concurrency and exponential backoff. For specifics, consult the Documentation. Failed or unreachable calls are not billed, making safe retries straightforward.

What’s the best caching strategy?
Cache by domain with a refresh interval suited to your workflow. Funding typically changes less often than content categories; choose a TTL that balances freshness with cost and latency.

Can I map IAB categories to my internal taxonomy?
Yes. Store the IAB mapping along with your own labels. Keep both to support future reclassification without rewriting historical data.

Ready to enrich funding data in your PHP app? Create your free account and start integrating in minutes: Register. For architectural details and field references, visit klazify.com and the Documentation.

Ready to use Klazify?

Start classifying websites, enriching company data, and exploring web intelligence.

Get Started Free