> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Context.dev: Contextdev Post Brand Retrieve

> Get a company's brand profile, logo, colors, and description from its domain, name, email, or stock ticker. Includes SDK V2 examples, schemas, and cost.

Get a company's brand profile, logo, colors, and description from its domain, name, email, or stock ticker.

> [!NOTE]
>
> Tool ID: `contextdev_post_brand_retrieve`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'contextdev_post_brand_retrieve',
  {
    "type": "by_domain",
    "domain": "example.com"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run contextdev_post_brand_retrieve --input '{
  "type": "by_domain",
  "domain": "example.com"
}'
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "status": "example",
    "brand": {
      "domain": "example.com",
      "title": "VP of Engineering",
      "description": "Example description"
    },
    "code": 123,
    "cache_metadata": {
      "status": "hit",
      "age_ms": 123
    },
    "request_id": "123e4567-e89b-42d3-a456-426614174000"
  }
}
```

Use `deepline describe contextdev_post_brand_retrieve --json` for the latest machine-readable contract.

## Input reference

One lookup, chosen by `type`.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.force_language` | `"afrikaans" \| "albanian" \| "amharic" \| "arabic" \| "armenian" \| "assamese" \| "aymara" \| "azeri" \| "basque" \| "belarusian" \| "bengali" \| "bosnian" \| "bulgarian" \| "burmese" \| "cantonese" \| "catalan" \| "cebuano" \| "chinese" \| "corsican" \| "croatian" \| "czech" \| "danish" \| "dutch" \| "english" \| "esperanto" \| "estonian" \| "farsi" \| "fijian" \| "finnish" \| "french" \| "galician" \| "georgian" \| "german" \| "greek" \| "guarani" \| "gujarati" \| "haitian-creole" \| "hausa" \| "hawaiian" \| "hebrew" \| "hindi" \| "hmong" \| "hungarian" \| "icelandic" \| "igbo" \| "indonesian" \| "irish" \| "italian" \| "japanese" \| "javanese" \| "kannada" \| "kazakh" \| "khmer" \| "kinyarwanda" \| "korean" \| "kurdish" \| "kyrgyz" \| "lao" \| "latin" \| "latvian" \| "lingala" \| "lithuanian" \| "luxembourgish" \| "macedonian" \| "malagasy" \| "malay" \| "malayalam" \| "maltese" \| "maori" \| "marathi" \| "mongolian" \| "nepali" \| "norwegian" \| "odia" \| "oromo" \| "pashto" \| "pidgin" \| "polish" \| "portuguese" \| "punjabi" \| "quechua" \| "romanian" \| "russian" \| "samoan" \| "scottish-gaelic" \| "serbian" \| "sesotho" \| "shona" \| "sindhi" \| "sinhala" \| "slovak" \| "slovene" \| "somali" \| "spanish" \| "sundanese" \| "swahili" \| "swedish" \| "tagalog" \| "tajik" \| "tamil" \| "tatar" \| "telugu" \| "thai" \| "tibetan" \| "tigrinya" \| "tongan" \| "tswana" \| "turkish" \| "turkmen" \| "ukrainian" \| "urdu" \| "uyghur" \| "uzbek" \| "vietnamese" \| "welsh" \| "wolof" \| "xhosa" \| "yiddish" \| "yoruba" \| "zulu"` | No | — | Language, e.g. `english`. Allowed: `afrikaans`, `albanian`, `amharic`, `arabic`, `armenian`, `assamese`, `aymara`, `azeri`, `basque`, `belarusian`, `bengali`, `bosnian`, `bulgarian`, `burmese`, `cantonese`, `catalan`, `cebuano`, `chinese`, `corsican`, `croatian`, `czech`, `danish`, `dutch`, `english`, `esperanto`, `estonian`, `farsi`, `fijian`, `finnish`, `french`, `galician`, `georgian`, `german`, `greek`, `guarani`, `gujarati`, `haitian-creole`, `hausa`, `hawaiian`, `hebrew`, `hindi`, `hmong`, See the live schema for the complete constraint. |
| `payload.maxSpeed` | `boolean` | No | — | Optional parameter to optimize the API call for maximum speed. |
| `payload.maxAgeMs` | `integer` | No | — | Maximum age of cached brand data in ms. Defaults to 3 months. clamped to 0–1 year. `0` refreshes. |
| `payload.timeoutOpts` | `object` | No | — | Request deadline and what to return when it passes. |
| `payload.type` | `"by_domain" \| "by_name" \| "by_email" \| "by_ticker" \| "by_direct_url" \| "by_transaction"` | Yes | — | Discriminator for domain-based brand retrieval. Allowed: `by_domain`, `by_name`, `by_email`, `by_ticker`, `by_direct_url`, `by_transaction`. |
| `payload.domain` | `string` | No | — | Domain name to retrieve brand data for (e.g., 'stripe.com'). Minimum length: 3. |
| `payload.zdr` | `"enabled" \| "disabled"` | No | — | `enabled` disables request logs and traces and omits request and response content from usage logs. Brand data and hosted assets may still be stored. Returns 403 `ZDR_NOT_ENABLED` unless your organization has ZDR. Allowed: `enabled`, `disabled`. |
| `payload.tags` | `array` | No | — | Labels for filtering usage in the dashboard. Maximum items: 20. |
| `payload.name` | `string` | No | — | Company name to retrieve brand data for (e.g., 'Apple Inc'). Minimum length: 3. Maximum length: 30. |
| `payload.country_gl` | `"af" \| "al" \| "dz" \| "as" \| "ad" \| "ao" \| "ai" \| "aq" \| "ag" \| "ar" \| "am" \| "aw" \| "au" \| "at" \| "az" \| "bs" \| "bh" \| "bd" \| "bb" \| "by" \| "be" \| "bz" \| "bj" \| "bm" \| "bt" \| "bo" \| "ba" \| "bw" \| "bv" \| "br" \| "io" \| "bn" \| "bg" \| "bf" \| "bi" \| "kh" \| "cm" \| "ca" \| "cv" \| "ky" \| "cf" \| "td" \| "cl" \| "cn" \| "cx" \| "cc" \| "co" \| "km" \| "cg" \| "cd" \| "ck" \| "cr" \| "ci" \| "hr" \| "cu" \| "cy" \| "cz" \| "dk" \| "dj" \| "dm" \| "do" \| "ec" \| "eg" \| "sv" \| "gq" \| "er" \| "ee" \| "et" \| "fk" \| "fo" \| "fj" \| "fi" \| "fr" \| "gf" \| "pf" \| "tf" \| "ga" \| "gm" \| "ge" \| "de" \| "gh" \| "gi" \| "gr" \| "gl" \| "gd" \| "gp" \| "gu" \| "gt" \| "gn" \| "gw" \| "gy" \| "ht" \| "hm" \| "va" \| "hn" \| "hk" \| "hu" \| "is" \| "in" \| "id" \| "ir" \| "iq" \| "ie" \| "il" \| "it" \| "jm" \| "jp" \| "jo" \| "kz" \| "ke" \| "ki" \| "kp" \| "kr" \| "kw" \| "kg" \| "la" \| "lv" \| "lb" \| "ls" \| "lr" \| "ly" \| "li" \| "lt" \| "lu" \| "mo" \| "mk" \| "mg" \| "mw" \| "my" \| "mv" \| "ml" \| "mt" \| "mh" \| "mq" \| "mr" \| "mu" \| "yt" \| "mx" \| "fm" \| "md" \| "mc" \| "mn" \| "ms" \| "ma" \| "mz" \| "mm" \| "na" \| "nr" \| "np" \| "nl" \| "an" \| "nc" \| "nz" \| "ni" \| "ne" \| "ng" \| "nu" \| "nf" \| "mp" \| "no" \| "om" \| "pk" \| "pw" \| "ps" \| "pa" \| "pg" \| "py" \| "pe" \| "ph" \| "pn" \| "pl" \| "pt" \| "pr" \| "qa" \| "re" \| "ro" \| "ru" \| "rw" \| "sh" \| "kn" \| "lc" \| "pm" \| "vc" \| "ws" \| "sm" \| "st" \| "sa" \| "sn" \| "rs" \| "sc" \| "sl" \| "sg" \| "sk" \| "si" \| "sb" \| "so" \| "za" \| "gs" \| "es" \| "lk" \| "sd" \| "sr" \| "sj" \| "sz" \| "se" \| "ch" \| "sy" \| "tw" \| "tj" \| "tz" \| "th" \| "tl" \| "tg" \| "tk" \| "to" \| "tt" \| "tn" \| "tr" \| "tm" \| "tc" \| "tv" \| "ug" \| "ua" \| "ae" \| "gb" \| "us" \| "um" \| "uy" \| "uz" \| "vu" \| "ve" \| "vn" \| "vg" \| "vi" \| "wf" \| "eh" \| "ye" \| "zm" \| "zw"` | No | — | Two-letter ISO 3166-1 alpha-2 country code (GL parameter) used to localize search. Allowed: `af`, `al`, `dz`, `as`, `ad`, `ao`, `ai`, `aq`, `ag`, `ar`, `am`, `aw`, `au`, `at`, `az`, `bs`, `bh`, `bd`, `bb`, `by`, `be`, `bz`, `bj`, `bm`, `bt`, `bo`, `ba`, `bw`, `bv`, `br`, `io`, `bn`, `bg`, `bf`, `bi`, `kh`, `cm`, `ca`, `cv`, `ky`, `cf`, `td`, `cl`, `cn`, `cx`, `cc`, `co`, `km`, `cg`, `cd`, `ck`, `cr`, `ci`, `hr`, `cu`, `cy`, `cz`, `dk`, `dj`, `dm`, `do`, `ec`, `eg`, `sv`, `gq`, `er`, `ee`, `et`, See the live schema for the complete constraint. |
| `payload.email` | `string` | No | — | Email address to retrieve brand data for (e.g., '[jane@stripe.com](mailto:jane@stripe.com)'). Format: `email`. Minimum length: 1. |
| `payload.ticker` | `string` | No | — | Stock ticker symbol to retrieve brand data for (e.g., 'AAPL'). Minimum length: 1. Maximum length: 15. Pattern: `^[A-Za-z0-9.]+$`. |
| `payload.ticker_exchange` | `"AMEX" \| "AMS" \| "AQS" \| "ASX" \| "ATH" \| "BER" \| "BME" \| "BRU" \| "BSE" \| "BUD" \| "BUE" \| "BVC" \| "CBOE" \| "CNQ" \| "CPH" \| "DFM" \| "DOH" \| "DUB" \| "DUS" \| "DXE" \| "EGX" \| "FSX" \| "HAM" \| "HEL" \| "HKSE" \| "HOSE" \| "ICE" \| "IOB" \| "IST" \| "JKT" \| "JNB" \| "JPX" \| "KLS" \| "KOE" \| "KSC" \| "KUW" \| "LIS" \| "LSE" \| "MCX" \| "MEX" \| "MIL" \| "MUN" \| "NASDAQ" \| "NEO" \| "NSE" \| "NYSE" \| "NZE" \| "OSL" \| "OTC" \| "PAR" \| "PNK" \| "PRA" \| "RIS" \| "SAO" \| "SAU" \| "SES" \| "SET" \| "SGO" \| "SHH" \| "SHZ" \| "SIX" \| "STO" \| "STU" \| "TAI" \| "TAL" \| "TLV" \| "TSX" \| "TSXV" \| "TWO" \| "VIE" \| "WSE" \| "XETRA"` | No | — | Stock exchange code. Allowed: `AMEX`, `AMS`, `AQS`, `ASX`, `ATH`, `BER`, `BME`, `BRU`, `BSE`, `BUD`, `BUE`, `BVC`, `CBOE`, `CNQ`, `CPH`, `DFM`, `DOH`, `DUB`, `DUS`, `DXE`, `EGX`, `FSX`, `HAM`, `HEL`, `HKSE`, `HOSE`, `ICE`, `IOB`, `IST`, `JKT`, `JNB`, `JPX`, `KLS`, `KOE`, `KSC`, `KUW`, `LIS`, `LSE`, `MCX`, `MEX`, `MIL`, `MUN`, `NASDAQ`, `NEO`, `NSE`, `NYSE`, `NZE`, `OSL`, `OTC`, `PAR`, `PNK`, `PRA`, `RIS`, `SAO`, `SAU`, `SES`, `SET`, `SGO`, `SHH`, `SHZ`, `SIX`, `STO`, `STU`, `TAI`, `TAL`, `TLV`, See the live schema for the complete constraint. |
| `payload.direct_url` | `string` | No | — | Full http(s) URL to fetch brand data from (e.g., '[https://stripe.com/enterprise](https://stripe.com/enterprise)'). Only this URL is fetched — not the entire internet. Format: `uri`. |
| `payload.transaction_info` | `string` | No | — | Transaction information to identify the brand. Minimum length: 3. Maximum length: 500. |
| `payload.city` | `string` | No | — | Optional city name to prioritize when searching for the brand. |
| `payload.mcc` | `string \| number` | No | — | Optional Merchant Category Code (MCC) to help identify the business category or industry. |
| `payload.phone` | `string \| number` | No | — | Optional phone number from the transaction to help verify brand match. |
| `payload.high_confidence_only` | `boolean` | No | — | When set to true, the API performs additional verification to ensure the identified brand matches the transaction with high confidence. |
| `payload.timeoutMS` | `integer` | No | — | Deprecated: use timeoutOpts.milliseconds. Request deadline in milliseconds. sent as timeoutOpts with the "fail" behavior. Minimum: 1000. Maximum: 300000. |

> [!NOTE]
>
> This input schema is too large for an inline display. Read the complete live contract with `deepline describe contextdev_post_brand_retrieve --json`.

## Output reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | — |
| `result.data.partial` | `boolean` | No | — | — |
| `result.data.status` | `string` | Yes | — | — |
| `result.data.brand` | `object` | Yes | — | — |
| `result.data.brand.domain` | `string` | No | — | — |
| `result.data.brand.title` | `string` | No | — | — |
| `result.data.brand.description` | `string` | No | — | — |
| `result.data.brand.slogan` | `string` | No | — | — |
| `result.data.brand.colors` | `array` | No | — | — |
| `result.data.brand.colors[].hex` | `string` | No | — | — |
| `result.data.brand.colors[].name` | `string` | No | — | — |
| `result.data.brand.colors[].source` | `"site" \| "logo"` | No | — | Allowed: `site`, `logo`. |
| `result.data.brand.logos` | `array` | No | — | — |
| `result.data.brand.logos[].url` | `string` | No | — | — |
| `result.data.brand.logos[].mode` | `"light" \| "dark" \| "has_opaque_background"` | No | — | Allowed: `light`, `dark`, `has_opaque_background`. |
| `result.data.brand.logos[].colors` | `array` | No | — | — |
| `result.data.brand.logos[].colors[].hex` | `string` | No | — | — |
| `result.data.brand.logos[].colors[].name` | `string` | No | — | — |
| `result.data.brand.logos[].resolution` | `object` | No | — | — |
| `result.data.brand.logos[].resolution.width` | `integer` | No | — | — |
| `result.data.brand.logos[].resolution.height` | `integer` | No | — | — |
| `result.data.brand.logos[].resolution.aspect_ratio` | `number` | No | — | — |
| `result.data.brand.logos[].type` | `"icon" \| "logo"` | No | — | Allowed: `icon`, `logo`. |
| `result.data.brand.backdrops` | `array` | No | — | — |
| `result.data.brand.backdrops[].url` | `string` | No | — | — |
| `result.data.brand.backdrops[].colors` | `array` | No | — | — |
| `result.data.brand.backdrops[].colors[].hex` | `string` | No | — | — |
| `result.data.brand.backdrops[].colors[].name` | `string` | No | — | — |
| `result.data.brand.backdrops[].resolution` | `object` | No | — | — |
| `result.data.brand.backdrops[].resolution.width` | `integer` | No | — | — |
| `result.data.brand.backdrops[].resolution.height` | `integer` | No | — | — |
| `result.data.brand.backdrops[].resolution.aspect_ratio` | `number` | No | — | — |
| `result.data.brand.socials` | `array` | No | — | — |
| `result.data.brand.socials[].type` | `"x" \| "facebook" \| "instagram" \| "linkedin" \| "youtube" \| "pinterest" \| "tiktok" \| "dribbble" \| "github" \| "behance" \| "snapchat" \| "whatsapp" \| "telegram" \| "line" \| "discord" \| "twitch" \| "vimeo" \| "imdb" \| "tumblr" \| "flickr" \| "giphy" \| "medium" \| "spotify" \| "soundcloud" \| "tripadvisor" \| "yelp" \| "producthunt" \| "reddit" \| "crunchbase" \| "appstore" \| "playstore"` | No | — | Allowed: `x`, `facebook`, `instagram`, `linkedin`, `youtube`, `pinterest`, `tiktok`, `dribbble`, `github`, `behance`, `snapchat`, `whatsapp`, `telegram`, `line`, `discord`, `twitch`, `vimeo`, `imdb`, `tumblr`, `flickr`, `giphy`, `medium`, `spotify`, `soundcloud`, `tripadvisor`, `yelp`, `producthunt`, `reddit`, `crunchbase`, `appstore`, `playstore`. |
| `result.data.brand.socials[].url` | `string` | No | — | — |
| `result.data.brand.address` | `object` | No | — | — |
| `result.data.brand.address.street` | `string` | No | — | — |
| `result.data.brand.address.city` | `string` | No | — | — |
| `result.data.brand.address.country` | `string` | No | — | — |
| `result.data.brand.address.country_code` | `string` | No | — | — |
| `result.data.brand.address.state_province` | `string` | No | — | — |
| `result.data.brand.address.state_code` | `string` | No | — | — |
| `result.data.brand.address.postal_code` | `string` | No | — | — |
| `result.data.brand.stock` | `object` | No | — | — |
| `result.data.brand.stock.ticker` | `string` | No | — | — |
| `result.data.brand.stock.exchange` | `string` | No | — | — |
| `result.data.brand.employees` | `object` | No | — | — |
| `result.data.brand.employees.range` | `"1 to 10" \| "11 to 50" \| "51 to 200" \| "201 to 500" \| "501 to 1000" \| "1001 to 5000" \| "5001 to 10000" \| "10001+"` | No | — | Allowed: `1 to 10`, `11 to 50`, `51 to 200`, `201 to 500`, `501 to 1000`, `1001 to 5000`, `5001 to 10000`, `10001+`. |
| `result.data.brand.employees.exact` | `integer` | No | — | — |
| `result.data.brand.is_nsfw` | `boolean` | No | — | — |

The table shows the first 50 fields. Use the live contract below for every field.

> [!NOTE]
>
> This output schema is too large for an inline display. Read the complete live contract with `deepline describe contextdev_post_brand_retrieve --json`.

## Deepline cost

* Pricing model: `provider_usage` (provider usage).
* Estimated Deepline credits: `0.01` per pricing unit.

## Related documentation

* [Connect integrations](https://deepline.com/docs/integrations.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.