EX-5.1 2 d813688dex51.htm EX-5.1 EX-5.1

Exhibit 5.1

 

 

LOGO

 

 

May 20, 2024

  

650 Town Center Drive, 20th Floor

Costa Mesa, California 92626-1925

Tel: +1.714.540.1235 Fax: +1.714.755.8290

www.lw.com

 

FIRM / AFFILIATE OFFICES

  

Austin

Beijing

Boston

Brussels

Century City

Chicago

Dubai

Düsseldorf

Frankfurt

Hamburg

Hong Kong

Houston

London

Los Angeles

Madrid

  

Milan

Munich

New York

Orange County

Paris

Riyadh

San Diego

San Francisco

Seoul

Silicon Valley

Singapore

Tel Aviv

Tokyo

Washington, D.C.

CoStar Group, Inc.

1331 L Street, NW

Washington, D.C. 20005

 

  Re:

Registration Statement on Form S-4

To the addressee set forth above:

We have acted as special counsel to CoStar Group, Inc., a Delaware corporation (the “Company”), in connection with the proposed issuance of up to 12,194,922 shares of common stock, $0.01 par value per share (the “Shares”). The Shares are included in a registration statement on Form S-4 under the Securities Act of 1933, as amended (the “Act”), filed with the Securities and Exchange Commission (the “Commission”) on May 20, 2024 (the “Registration Statement”) in connection with the Agreement and Plan of Merger and Reorganization, dated April 21, 2024 (the “Merger Agreement”), among the Company, Matrix Merger Sub, Inc., a Delaware corporation, Matrix Merger Sub II LLC, a Delaware limited liability company, and Matterport, Inc., a Delaware corporation, a copy of which is included as Annex A to the proxy statement/prospectus contained in the Registration Statement. The term “Shares” shall include any additional shares of common stock registered by the Company pursuant to Rule 462(b) under the Act in connection with the Registration Statement. This opinion is being furnished in connection with the requirements of Item 601(b)(5) of Regulation S-K under the Act, and no opinion is expressed herein as to any matter pertaining to the contents of the Registration Statement or related proxy statement/prospectus contained therein, other than as expressly stated herein with respect to the issue of the Shares.

As such counsel, we have examined such matters of fact and questions of law as we have considered appropriate for purposes of this letter. With your consent, we have relied upon certificates and other assurances of officers of the Company and others as to factual matters without having independently verified such factual matters. We are opining herein as to the General Corporation Law of the State of Delaware (the “DGCL”), and we express no opinion with respect to any other laws.

Subject to the foregoing and the other matters set forth herein, it is our opinion that, as of the date hereof, when the mergers contemplated by the Merger Agreement are completed and the Shares have been duly registered in book-entry form, in each case in accordance with the Merger Agreement, the Shares will have been duly authorized by all necessary corporate action of the Company, and the Shares will be validly issued, fully paid and nonassessable.


May 20, 2024

Page 2

 

LOGO

 

In rendering the foregoing opinion, we have assumed that (i) at or prior to the time of the delivery of any Shares, the Registration Statement will have been declared effective under the Act and that the registration will apply to all of the Shares and will not have been modified or rescinded and that there will not have occurred any change in law affecting the validity of the issuance of such Shares and (ii) the Company will comply with all applicable notice requirements regarding uncertificated shares provided in the DGCL.

This opinion is for your benefit in connection with the Registration Statement and may be relied upon by you and by persons entitled to rely upon it pursuant to the applicable provisions of the Act. We consent to your filing this opinion as an exhibit to the Registration Statement and to the reference to our firm in the proxy statement/prospectus contained in the Registration Statement under the heading “Legal Matters.” In giving such consent, we do not thereby admit that we are in the category of persons whose consent is required under Section 7 of the Act or the rules and regulations of the Commission thereunder.

 

Sincerely,

/s/ Latham & Watkins LLP