<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0203</schemaVersion>

    <documentType>3</documentType>

    <periodOfReport>2008-07-31</periodOfReport>

    <noSecuritiesOwned>0</noSecuritiesOwned>

    <issuer>
        <issuerCik>0001361538</issuerCik>
        <issuerName>Rhapsody Acquisition Corp.</issuerName>
        <issuerTradingSymbol>PRIM</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001442494</rptOwnerCik>
            <rptOwnerName>Perisich Family Trust dated July 11, 2007</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O PRIMORIS CORPORATION</rptOwnerStreet1>
            <rptOwnerStreet2>26000 COMMERCENTRE DRIVE</rptOwnerStreet2>
            <rptOwnerCity>LAKE FOREST</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>92630</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>1</isOther>
            <otherText>Member - see remark</otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001441444</rptOwnerCik>
            <rptOwnerName>Perisich John M.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O PRIMORIS CORPORATION</rptOwnerStreet1>
            <rptOwnerStreet2>26000 COMMERCENTRE DRIVE</rptOwnerStreet2>
            <rptOwnerCity>LAKE FOREST</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>92630</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>1</isOther>
            <officerTitle>Senior VP and General Counsel</officerTitle>
            <otherText>Member - see remark</otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>108000</value>
                    <footnoteId id="F1"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">These shares are owned directly by the Perisich Family Trust dated July 11, 2007 and indirectly by John M. Perisich, as trustee of the trust.</footnote>
    </footnotes>

    <remarks>4. Relationship of Reporting Person to Issuer - Other: Member of 13(d) group owning more than 10%</remarks>

    <ownerSignature>
        <signatureName>/s/ John M. Perisich, Trustee of the Perisich Family Trust</signatureName>
        <signatureDate>2008-08-11</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ John M. Perisich</signatureName>
        <signatureDate>2008-08-11</signatureDate>
    </ownerSignature>
</ownershipDocument>
