# 78. Query: Find "Fields" by "externalKey"

Find  "Fields" by the 3rd party externalKey incorporated during the "Field" registration procedure.

### <mark style="color:orange;">OPTION 1</mark> using getFields query

{% code overflow="wrap" lineNumbers="true" %}

```graphql
query FindFieldsByExternalKeyOption1 {
  getFields(filter: {
    fieldExternalKey: "<third_party_identificator>"
  }) {
    totalCount
    fields {
      uuid
      name
      externalKey
    }
  }
}
```

{% endcode %}

### <mark style="color:orange;">OPTION 2</mark> using getFarms query

{% code overflow="wrap" lineNumbers="true" %}

```graphql
query FingFieldsByExternalKeyOption2 {
  getFarms {
    fields(externalKeys: ["<third_party_identificator>"]) {
      uuid
      name
      externalKey
    }
  }
}

```

{% endcode %}
