الانتقال إلى المحتوى الرئيسي
GET
/
api
/
v2
/
logos
/
search
البحث عن الشعارات
curl --request GET \
  --url 'https://api.example.com/api/v2/logos/search?token='
{
  "ok": true,
  "data": [
    {
      "id": "efc3943a-ddac-4f59-a2cc-47a67583068b",
      "search_key": "TSLA",
      "created_at": "2022-05-18T05:19:45.008547Z",
      "updated_at": "2025-02-05T09:43:14.303261Z",
      "colors": {
        "background_light": "#FFFFFF",
        "background_dark": "#000000"
      },
      "files": {
        "logo_light": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/logo_light.png?x-bz-cred=...",
        "logo_dark": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/logo_dark.png?x-bz-cred=...",
        "logo_vector_light": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/logo_vector_light.svg?x-bz-cred=...",
        "logo_vector_dark": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/logo_vector_dark.svg?x-bz-cred=...",
        "mark_light": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/mark_light.png?x-bz-cred=...",
        "mark_dark": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/mark_dark.png?x-bz-cred=...",
        "mark_composite_light": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/mark_composite_light.png?x-bz-cred=...",
        "mark_composite_dark": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/mark_composite_dark.png?x-bz-cred=...",
        "mark_vector_light": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/mark_vector_light.svg?x-bz-cred=...",
        "mark_vector_dark": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/mark_vector_dark.svg?x-bz-cred=...",
        "mark_vector_composite_light": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/mark_vector_composite_light.svg?x-bz-cred=...",
        "mark_vector_composite_dark": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/mark_vector_composite_dark.svg?x-bz-cred=..."
      },
      "securities": [
        {
          "symbol": "TSLA",
          "name": "TESLA INC",
          "cik": "1318605",
          "exchange": "NASDAQ",
          "mic_code": "XNAS",
          "exchange_name": "NASDAQ Global Select Consolidated",
          "cusip": "88160R101",
          "isin": "US88160R1014",
          "country": "US",
          "figi_share_class": "BBG001SQKGD7",
          "figi": "BBG000N9MNX3",
          "security_type": "Common Stock"
        },
        {
          "symbol": "TL0",
          "name": "TESLA INC",
          "cik": "1318605",
          "exchange": "MUN",
          "mic_code": "XMUN",
          "exchange_name": "Munich Stock Exchange",
          "cusip": "88160R101",
          "isin": "US88160R1014",
          "country": "DE",
          "figi_share_class": "BBG001SQKGD7",
          "figi": "BBG000WGWVP7",
          "security_type": "Common Stock"
        }
      ]
    }
  ]
}
{
  "ok": true,
  "data": [
    {
      "id": "efc3943a-ddac-4f59-a2cc-47a67583068b",
      "search_key": "TSLA",
      "created_at": "2022-05-18T05:19:45.008547Z",
      "updated_at": "2025-02-05T09:43:14.303261Z",
      "colors": {
        "background_light": "#FFFFFF",
        "background_dark": "#000000"
      },
      "files": {
        "logo_light": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/logo_light.png?x-bz-cred=...",
        "logo_dark": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/logo_dark.png?x-bz-cred=...",
        "logo_vector_light": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/logo_vector_light.svg?x-bz-cred=...",
        "logo_vector_dark": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/logo_vector_dark.svg?x-bz-cred=...",
        "mark_light": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/mark_light.png?x-bz-cred=...",
        "mark_dark": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/mark_dark.png?x-bz-cred=...",
        "mark_composite_light": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/mark_composite_light.png?x-bz-cred=...",
        "mark_composite_dark": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/mark_composite_dark.png?x-bz-cred=...",
        "mark_vector_light": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/mark_vector_light.svg?x-bz-cred=...",
        "mark_vector_dark": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/mark_vector_dark.svg?x-bz-cred=...",
        "mark_vector_composite_light": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/mark_vector_composite_light.svg?x-bz-cred=...",
        "mark_vector_composite_dark": "https://image-util.benzinga.com/api/v2/logos/file/image/1318605/mark_vector_composite_dark.svg?x-bz-cred=..."
      },
      "securities": [
        {
          "symbol": "TSLA",
          "name": "TESLA INC",
          "cik": "1318605",
          "exchange": "NASDAQ",
          "mic_code": "XNAS",
          "exchange_name": "NASDAQ Global Select Consolidated",
          "cusip": "88160R101",
          "isin": "US88160R1014",
          "country": "US",
          "figi_share_class": "BBG001SQKGD7",
          "figi": "BBG000N9MNX3",
          "security_type": "Common Stock"
        },
        {
          "symbol": "TL0",
          "name": "TESLA INC",
          "cik": "1318605",
          "exchange": "MUN",
          "mic_code": "XMUN",
          "exchange_name": "Munich Stock Exchange",
          "cusip": "88160R101",
          "isin": "US88160R1014",
          "country": "DE",
          "figi_share_class": "BBG001SQKGD7",
          "figi": "BBG000WGWVP7",
          "security_type": "Common Stock"
        }
      ]
    }
  ]
}

التفويضات

token
string
query
مطلوب

معلمات الاستعلام

search_keys
string
مطلوب

قائمة بمعرّفات أوراق مالية مفصولة بفواصل. الحد الأقصى هو 100 معرّف. يعتمد النوع على معامل search_keys_type.

search_keys_type
string

نوع المعرّف الذي يتم البحث عنه. الأنواع المدعومة: symbol (الافتراضي)، cik، cusip، رقم التعريف الدولي للأوراق المالية ISIN

fields
string
مطلوب

قائمة مفصولة بفواصل لحقول الشعارات المطلوب إرجاعها. الحد الأقصى 12 حقلًا. المتاح: logo_light, logo_dark, logo_vector_light, logo_vector_dark, mark_light, mark_dark, mark_vector_light, mark_vector_dark, mark_composite_light, mark_composite_dark, mark_vector_composite_light, mark_vector_composite_dark, colors

composite_auto
boolean

إذا كانت القيمة true ولا يوجد شعار، يتم إنشاء صورة تركيبية استنادًا إلى اسم الشركة وألوان علامتها التجارية

composite_radius
integer

نصف قطر حافة الصور المركّبة كنسبة مئوية. النطاق من 0 إلى 50، حيث تُنشئ القيمة 50 دائرة. القيمة الافتراضية: 0

scale
string

قم بضبط أبعاد الصورة بتنسيق WIDTHxHEIGHT (مثلًا: 300x300). يتم تصغير الصور فقط ولا يتم تكبيرها مطلقًا. القيمة الافتراضية: 300x300

max_width
string

الحد الأقصى لعرض الصور بعد تحجيمها بالبكسل

الاستجابة

استجابة ناجحة تتضمن مصفوفة من كائنات LogoClientResponse ضمن الحقل data

data
object
errors
object[]
ok
boolean