Append API
Enrich customer or prospect profiles by appending firmographic and domain data to a list of domains from a CSV or Excel file. Returns BizData profiles, Score values, and Growth metrics for each domain.
POST https://api.discolike.com/v1/appendParameters
Section titled “Parameters”| Parameter | Description |
|---|---|
| dataset | Datasets to append: bizdata, domain_status, redirects, growth, vendors, subdomains. Required, at least one value |
| file | CSV/Excel file of domains (multipart form field). Optional if query_id is provided |
| query_id | One or more saved-query IDs (from GET /queries/saved) to resolve into company domains, unioned with any domains from file. Accepts a comma-separated string or repeated values. Each saved query contributes up to its domain cap |
| domain_column | Column containing domains. Auto-detected if not provided |
Billing
Section titled “Billing”bizdatabills net-new domains only. Domains retrieved in the last 90 days are cached and free.- The other datasets (
domain_status,redirects,growth,vendors,subdomains) bill one record per row that returns data for that dataset; rows without data are free. There is no 90-day cache for these datasets, so re-running the same file bills them again.
The request is priced before it runs at both request fees it can incur (BizData and the other datasets) and every row of every dataset requested; one the remaining balance cannot cover is refused with a 403 INSUFFICIENT_BALANCE that names the largest number of rows that fits. A dataset listed twice is priced and fetched once.
Response Fields
Section titled “Response Fields”Field naming depends on the dataset combination:
| Scenario | Bizdata fields | Non-bizdata fields |
|---|---|---|
bizdata only | No prefix (name, score) | N/A |
bizdata + others | No prefix (name, score) | Prefixed (redirects:redirect_count) |
| Single non-bizdata | N/A | No prefix (status_code) |
| Multiple non-bizdata | N/A | Prefixed (domain_status:status_code, growth:score_growth_3m) |
domain is always available without prefix. Original input columns are prefixed with input:.
Dataset-specific fields
Section titled “Dataset-specific fields”| Dataset | Fields |
|---|---|
bizdata | Standard BizData fields (name, status, score, description, etc.), plus the additional fields employees, revenue_range, business_model, mx_provider, sub_industry (see Sub-Industries), latitude, longitude and geo_precision |
redirects | redirect_sources (array of domains redirecting to this domain, capped at 1,000), redirect_count (true total) |
domain_status | status_code, status_reason, record_date |
growth | Quarterly score_* and subdomains_* fields, score_growth_3m, subdomain_growth_3m |
vendors | vendors (array of vendor/technology domains this company uses, capped at 100) |
subdomains | subdomains (array of subdomains observed for this domain, most popular first, capped at 300) |
Returns JSON by default. Add &csv=true for CSV output.
Examples
Section titled “Examples”Request
Section titled “Request”curl --form file='@domains.csv' \ "https://api.discolike.com/v1/append?dataset=bizdata&dataset=redirects" \ -H "x-discolike-key: API_KEY"Input file:
domainacmesoftware.comResponse
Section titled “Response”[ { "domain": "acmesoftware.com", "name": "Acme Software Inc", "status": { "status": "active", "confidence": 1.0 }, "score": 250, "start_date": "2018-02-17", "address": { "state": "California", "country": "US" }, "latitude": 37.3382, "longitude": -121.8863, "geo_precision": "city", "phones": ["+15555550900"], "public_emails": ["info@acmesoftware.com"], "description": "Enterprise software company providing business intelligence and data analytics solutions.", "keywords": { "business intelligence": 0.63, "data analytics": 0.51 }, "industry_groups": { "SOFTWARE": 0.85 }, "sub_industry": { "SOFTWARE/CUSTOM_SOFTWARE_DEVELOPER": 0.62 }, "redirects:redirect_sources": ["oldacme.com", "acme-software.com"], "redirects:redirect_count": 2 }]