BuiltWith C# Client SDK
C# client SDK for the BuiltWith API.
Getting Started
using var client = new BuiltWith.BuiltWithClient("YOUR_API_KEY");
// Domain API - get technologies used on a domain
var domain = await client.GetDomainAsync("example.com");
// Free API - get technology group summary
var free = await client.GetFreeAsync("example.com");Get your API key by creating a free account at api.builtwith.com.
Installing
dotnet add package BuiltWith
https://www.nuget.org/packages/BuiltWith/
Supported Endpoints
- Domain API - Technology detection for domains (v22)
- Free API - Free technology group summary
- Lists API - Find sites using a technology
- Relationships API - Domain relationship mapping
- Keywords API - Domain keyword extraction
- Trends API - Technology adoption trends
- Company to URL API - Map company names to domains
- Tags API - IP and attribute lookups
- Redirects API - Domain redirect tracking
- Trust API - Trust and fraud signals
- Recommendations API - Technology recommendations
- Product API - E-commerce product search
Usage Examples
Domain API
using var client = new BuiltWith.BuiltWithClient("YOUR_API_KEY");
// Single domain
var result = await client.GetDomainAsync("shopify.com");
foreach (var tech in result.Results[0].Result.Paths[0].Technologies)
{
Console.WriteLine($"{tech.Name} ({tech.Tag})");
}
// Multiple domains (max 16)
var multi = await client.GetDomainAsync(new[] { "shopify.com", "builtwith.com" });Lists API
// Find sites using Shopify
var list = await client.GetListsAsync("Shopify");
foreach (var site in list.Results)
{
Console.WriteLine(site.Domain);
}
// Paginate with offset
var next = await client.GetListsAsync("Shopify", list.NextOffset);Relationships API
var rel = await client.GetRelationshipsAsync("builtwith.com");
foreach (var r in rel.Relationships)
{
foreach (var id in r.Identifiers)
{
Console.WriteLine($"{id.Type}: {id.Value} ({id.Matches?.Length} matches)");
}
}Company to URL API
var companies = await client.GetCompanyToUrlAsync("BuiltWith");
foreach (var c in companies)
{
Console.WriteLine($"{c.Domain} - {c.CompanyName} ({c.Country})");
}Trends API
var trends = await client.GetTrendsAsync("Shopify");
Console.WriteLine($"{trends.Tech.Name}: {trends.Tech.Coverage.Live} live sites");Trust API
var trust = await client.GetTrustAsync("example.com");
Console.WriteLine($"Spend: {trust.DBRecord?.Spend}, Parked: {trust.DBRecord?.Parked}");Redirects API
var redirects = await client.GetRedirectsAsync("builtwith.com");
Console.WriteLine($"Inbound: {redirects.Inbound?.Length}, Outbound: {redirects.Outbound?.Length}");Tags API
var tags = await client.GetTagsAsync("IP-104.18.44.82");
foreach (var tag in tags)
{
Console.WriteLine($"{tag.Value}: {tag.Matches?.Length} domains");
}Product API
var products = await client.GetProductAsync("bluetooth speaker");
foreach (var shop in products.Shops)
{
foreach (var p in shop.Products)
{
Console.WriteLine($"{p.Title} - ${p.Price} at {shop.Domain}");
}
}Recommendations API
var recs = await client.GetRecommendationsAsync("builtwith.com");
foreach (var r in recs[0].Recommendations)
{
Console.WriteLine($"{r.Name} ({r.Tag}) - {r.Stars} stars, {r.Match:P0} match");
}Keywords API
var kw = await client.GetKeywordsAsync("builtwith.com");
Console.WriteLine(string.Join(", ", kw.Keywords[0].Keywords));Synchronous Usage
All async methods have synchronous counterparts:
var domain = client.GetDomain("example.com");
var free = client.GetFree("example.com");
var trust = client.GetTrust("example.com");Custom HttpClient
var httpClient = new HttpClient();
httpClient.Timeout = TimeSpan.FromSeconds(60);
using var client = new BuiltWith.BuiltWithClient("YOUR_API_KEY", httpClient);Dependencies
- .NET 8.0 / .NET Standard 2.0
- System.Text.Json
Migrating from v1
v2 is a complete rewrite. Key changes:
- Instance-based client - Use
new BuiltWithClient(key)instead ofBuiltWithClient.Init(key)+ static methods - IDisposable - Wrap in
usingstatement - Async-first - All methods have
Asyncvariants withCancellationTokensupport - System.Text.Json - Replaced Newtonsoft.Json
- Domain API v22 - Updated from v14
- All endpoints - Full coverage of the BuiltWith API
Licence
MIT
Authors
Gary Brewer