Craft 3 Element API: Query the "parent" entry of a "child" entry with Matrix blocks connected by an 'Entries' field
$page = Entry::find()
    -&gt;relatedTo([
        'targetElement' =&gt; $article, 
        'field'         =&gt; 'articleSections.articles' 
    ])
    -&gt;section('page')-&gt;all();


Please read the docs about ElementQueries and relations

Note: the Element API Creates an ElementQuery from your criteria property.

criteria =&gt; [
    'sectionId' =&gt; 4,
    'typeId'    =&gt; 1
]


Is the same as

Entry::find()-&gt;sectionId(4)-&gt;typeId(1)